Log In · Register

 
 
Closed TopicStart new topic
space on top of the page, is it custom hearder?
rosedoll
post Apr 3 2006, 12:00 AM
Post #1


Senior Member
***

Group: Member
Posts: 78
Joined: Apr 2006
Member No: 391,072



i wanted to put a picture repeating horizontally on the beggining of my page.
i used this script:


<TABLE border="0" cellpadding="0" cellspacing="0">
<TBODY>
<TR>
<TD width="100%" style="background-repeat : repeat-x;background-attachment : fixed;" background="urlhere"></TD>
<TD><IMG src="urlhere" border="0"></TD>
</TR>
</TBODY>
</TABLE>

but after i used this script, theres a space on top of my picture.
i wanted to cancle out that space
so then the picture i used will be on the toppest on my page.
does anyone know how to solve this problem? or did i used a wrong script for it?
thankyou for sharingg xDDDDD~~
 
xklipse
post Apr 3 2006, 12:22 AM
Post #2


oanh is awesome *nods*
*****

Group: Member
Posts: 470
Joined: Aug 2005
Member No: 190,637



hm, it should look that way, I think the space is due to the xanga ads-so the picture can't be at the toppest of your page
 
talcumpowder
post Apr 3 2006, 12:25 AM
Post #3


You'll find me in your dreams.
*******

Group: Official Member
Posts: 8,536
Joined: Mar 2005
Member No: 114,010



A negative 150-ish top margin.
CODE
<TABLE border="0" cellpadding="0" cellspacing="0" style="margin-top: -150px;">
<TBODY>
<TR>
<TD width="100%" style="background-repeat : repeat-x;background-attachment : fixed;" background="urlhere"></TD>
<TD><IMG src="urlhere" border="0"></TD>
</TR>
</TBODY>
</TABLE>
Try that. Adjust the margin as needed.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: