This link has been bookmarked by 72 people . It was first bookmarked on 28 Nov 2008, by David Scrimshaw.
-
张 启迪6. IE Double Float Margin Bugs
-
6. IE Double Float Margin Bugs
I’m sure we have all dealt with this one, as this is one of the most common css “hacks” we need to use. If you haven’t seen this bug before, basically, a floated element with a given margin suddenly has doubled the margin in IE 6 and has dropped out of position! Luckily, the fix is super simple. We just change the display of the floated element to “inline” as seen below.
.yourClass {
float: left;
width: 350px;
margin: 20px 0 15px 100px;
display: inline;
}
-
-
Maggie Wolfe RileyGood compilation - I do most of these things, but some I am always forgetting, so it will be nice to have them in one place to look up!
-
Geetch SpucklerThis is a blog posting about the 15 tricks every web designer should know when working with CSS.
-
Ordizia JakintzaCSS trukoak
-
Thomas Buyleand should be remembered...
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.