Old 07-09-2005, 00:37   #1 (permalink)
d3mcfadden
Senior Member
 
d3mcfadden's Avatar
 
Join Date: Apr 2005
Location: -
Posts: 694
Send a message via AIM to d3mcfadden
CSS margin stumpin' me

Hi all,
Im working on a Zen Garden submission (just started so its still in its very early stages, so dont knock me too hard on it yet). Firefox is giving me this margin above my header, ive done pleanty of layouts like this in the past and have never had anything like it. Please show me how to remove it and make the header sit flush with the top of the browser. Thanks.
  Reply With Quote
Old 07-09-2005, 04:00   #2 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,205
In ff a h1 comes with some top margin as default.
Code:
h1 { margin: 0; }

or just reset all margins and padding from the start

Code:
* { margin: 0; padding: 0; }
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8