Welcome to WebmasterWorld Guest from 54.166.222.116

Forum Moderators: incrediBILL

Message Too Old, No Replies

Aligning Template to top?

Not sure how

     
10:05 am on Jan 28, 2007 (gmt 0)

5+ Year Member



If you have a look at this image:

<url removed>

You will see there is a gap at the top, between the top of the browser and the template where it's just the bg. Is there anyway to get it so that the top of my template start from the very top and there is no gap?

Thanks for any replies :)

[edited by: encyclo at 12:48 pm (utc) on Jan. 28, 2007]
[edit reason] no screenshots please, see forum charter [/edit]

10:29 am on Jan 28, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Set the top margin of your body element to 0px.

And you might also want to edit your post and remove the link.

10:39 am on Jan 28, 2007 (gmt 0)

5+ Year Member



Thanks.

I couldn't find a margin so I added this to the code:

<!-- ImageReady Slices (g2u temp sliced2.psd) -->
<table id="Table_01" width="781" border="0" cellpadding="0" cellspacing="0" margin-top="0">

Was that in the right place? Because it didn't work :P

10:52 am on Jan 28, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You should add it to the body tag:
<body style="margin-top:0px;">
11:03 am on Jan 28, 2007 (gmt 0)

5+ Year Member



Thanks a lot :D

It worked.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month