By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,723 Members | 1,655 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,723 IT Pros & Developers. It's quick & easy.

IE double margin float bug

P: n/a
My site http://www.architectqueensland.com is almost certainly running
into the IE5/IE6 double margin float bug described at
http://www.positioniseverything.net/...ed-margin.html

However I am unsure about the least bad way to get around it.
http://www.positioniseverything.net/...oatIndent.html suggest using
display: inline; while
http://plone.org/documentation/how-t...ble-margin-bug suggest an
additional div wrapper with height: 0.1%;

Does anyone have any comments about potential side effects from either
approach, on other browsers, or on IE7?

--
http://www.ericlindsay.com
Jan 27 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi, Eric

Tested in IE7, FF2.0 and Opera 9 works fine with both fixes. But I
find 'display:inline' aproach much more elegant. It does not require
meaningless extra divs, and keep the CSS things more simple. Also if
is faster to fix site with this aproach.

- Alex.

Jan 28 '07 #2

P: n/a
In article <11*********************@a75g2000cwd.googlegroups. com>,
"fo***********@gmail.com" <fo***********@gmail.comwrote:
Hi, Eric

Tested in IE7, FF2.0 and Opera 9 works fine with both fixes. But I
find 'display:inline' aproach much more elegant. It does not require
meaningless extra divs, and keep the CSS things more simple. Also if
is faster to fix site with this aproach.

- Alex.
Thanks for that. display: inline; was the way I thought best, but it
looked simple enough that I thought there must be some downside (like
IE7 falling over) that I didn't know about.

--
http://www.ericlindsay.com
Jan 28 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.