2 replies [Last post]
Eric Eastman
Offline
newbie
Salt Lake City, Utah
Last seen: 15 years 33 weeks ago
Salt Lake City, Utah
Joined: 2007-02-06
Posts: 2
Points: 0

I'm building a new site for a client.
www.movementum.org/action.html
The css for h2 is the last item in the style section of the page.
You can see it all when you view source code.
When you visit the site in IE6 the title "Action Cards" is just under the banner.
When you visit it in Firefox the title is quite a bit further down.
Can anyone tell me why this is, and what to do about it?
Thanks.

Chris..S
Chris..S's picture
Offline
Moderator
Last seen: 10 years 1 week ago
Timezone: GMT+1
Joined: 2005-02-22
Posts: 6078
Points: 173

IE is erratic in its

IE is erratic in its implementation of collapsing margins. Zero the margins on your html and body elements and things will most likely even out.

Eric Eastman
Offline
newbie
Salt Lake City, Utah
Last seen: 15 years 33 weeks ago
Salt Lake City, Utah
Joined: 2007-02-06
Posts: 2
Points: 0

Absolute positioning of h2

Thanks for your help, Chris. I also heard from some others in another forum and they said to use margin-top and margin-left for headers instead of absolute positioning. I tried that and it made it better. Zeroing out the margins will help some more, no doubt.