2 replies [Last post]
compguru910
Offline
newbie
Last seen: 12 years 9 weeks ago
Joined: 2008-01-30
Posts: 6
Points: 0

Ok, this may sound like a n00b question, but every time I make a website, the page floats about 10 pages below the top of the page. The header isnt at the top of the page. Instead, there is about 10-20 pixels of whitespace above it. Here are a few examples

www.prestigecorpcar.com
www.propertymgntconcepts.com
www.cookshackbarbq.com (this one doesnt have whitespace because im using a pic as the background, it still has the empty space though)

Any ideas? Im containing all of my divs for the layout in one div, which is called container

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 6 years 33 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

how about zeroing the margin

how about zeroing the margin on the body? :thumbsup:

compguru910
Offline
newbie
Last seen: 12 years 9 weeks ago
Joined: 2008-01-30
Posts: 6
Points: 0

I could have sworn I tried

I could have sworn I tried that, well, it worked none the less, thank you