luckies4me
07-21-2003, 03:54 AM
Is there anyway that I can have this image in the table not have a white area on top and no white on the side?
http://www.geocities.com/luckies4me//chins.html
I tried making the image as a table background but it kept going on forever and ever. Is there a way to make the image as a background appear only once?
Would I need to make my image bigger in order to not have the white space on the right?
To get rid of the white space, set the page margins to zero....
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
Your top image isn't repeating, but if you didn't want it to:
<td background="BACKGROUND.GIF" style="background-repeat:no-repeat;>
luckies4me
07-21-2003, 02:46 PM
Thanks so much! Now I am assuming that in order to get the right white space filled up all I need to do is create a larger graphic to fill the area?
~Cass
luckies4me
07-21-2003, 05:56 PM
Ok I redid my graphic and turned it into an image map and got the white space on top to dissapear, but now that I added a background image to the other <td> part, there is also a white space about that. I tried putting the body margin thing and that didn't work.
Maybe I should buy a template lol. :rollseyes:
Here is my code:
<HTML>
<HEAD>
<title>Romping Ratties Rattery</title>
</HEAD>
<BODY>
<META NAME="Author" CONTENT="Dan">
<META NAME="Generator" CONTENT="Jasc Paint Shop Pro 7">
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<TABLE WIDTH="100%" BGCOLOR="#FFFFFF" CELLSPACING="0" CELLPADDING="0" BORDER="0">
<TR>
<TD><IMG NAME="practicebanner0" SRC="http://www.geocities.com/luckies4me/practicebanner.jpg" WIDTH="785" HEIGHT="118" BORDER="0" USEMAP="#practicebanner">
<MAP NAME="practicebanner">
<AREA SHAPE="rect" COORDS="3,77,35,110"
<A HREF="http://www.geocities.com/luckies4me/index.html" TARGET="_self" ALT="home">
<AREA SHAPE="rect" COORDS="35,77,64,111" HREF="mailto:luckies4me@msn.com" TARGET="_self" ALT="contact us">
<AREA SHAPE="rect" COORDS="65,77,94,111" HREF="http://www.geocities.com/luckies4me/about.html" TARGET="_self" ALT="about us">
</MAP></TD>
</TR>
<TR>
<TD background="http://www.geocities.com/luckies4me/line.jpg">
<script language="JavaScript">
<!-- Begin
d = new Array(
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
);
m = new Array(
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
);
today = new Date();
day = today.getDate();
year = today.getYear();
if (year < 2000)
year = year + 1900;
end = "th";
if (day==1 || day==21 || day==31) end="st";
if (day==2 || day==22) end="nd";
if (day==3 || day==23) end="rd";
day+=end;
document.write(" ");
document.write(d[today.getDay()]+" "+m[today.getMonth()]+" ");
document.write(day+" " + year);
document.write(" ");
// End -->
</script></TD>
</TR>
</TABLE>
</body>
</html>
Also my friend went to the page and it said that there was a Syntax error? I can't fine out what is causing that to happen.
:confused:
MaGiCSuN
07-21-2003, 06:04 PM
the syntax error is from geocities.com not your coding (since i assume you are using geocities.com). So nothing to worry about it :) it has to do with the advertisement you see on your page, so it's from geocities.com
Love,
Mirna