View Full Version : Alignment Issues - Cross Browser Margins?

12-20-2005, 03:05 AM
Again, sorry for another issue. And thank again Aerospace :thumbsup:

The design is complete, and renders the way I want it to in FF and Opera, but in IE the margins are off. Any help with this would be excellent, thanks so much!


Edit: In FF if you hard refresh, the H2 text gets pushed under the image ???

12-20-2005, 09:26 AM
If your layout blocks are floated, you might be encountering the doubled float-margin bug (http://www.positioniseverything.net/explorer/doubled-margin.html).
If so, you can either write IE-specific styles to correct the margins, or use an extra wrapper inside the floated elements: the floated elements themselves get no margin, thus circumventing the issue, and margins are set on the non-floated wrappers to create the desired white space.

12-20-2005, 03:11 PM
Thanks, that solved many of my IE problems, with display:inline, I'll work on the rest after school.