isn't quite ashamed enough to present

jr conlin's ink stained banana

:: Solving IE's CSS Bugs Via A Single Statement

All Praise and Cookies to DrDoc:

And, in fact, it appears that the display property holds the answer and solution to all of the above bugs. Finally, no need to memorize different bugs or different solutions, hacks, their pros and cons. There is just one bug, and one solution!

Sure enough, it works. i've been dealing with a Peek-a-boo problem and sure enough, setting display:inline-block to the hidden elements solved the problem. YAY!!!

Now, if only i can come up with a similar solution to FireFox 0.9's font overflowing it's float container…

D'oh. Stupid members only restriction (and stupid me for not clearing my cookies before i checked with a different browser)

The sum of it is that the guy thought about all the various hacks and fixes and tried to think about what the root problem was, and why IE was pushing so hard for the currently invalid "display:block-inline" tag to be accepted as part of CSS 2.1., so he investigated the function and discovered that it seemed to address a good many of the problems.

The article explains it much better than i'm going to, but the freebie version of this is you may want to examine setting "display:inline" to solve things like double margins for floated elements and duplicate characters, and "display:inline-block" to either the item or the parent (again, bit of experimentation may be required for you to determine which) to solve things like peek-a-boo, unscrollable content, pixel jog, and creeping text.

i'm not going to duplicate the article because that's unfair to the original producers, but that should be more than enough to get you going.

Blogs of note
personal that's my blog
(The Official Blog of the Internet)
memoirs of hydrogen guy matthew shepherd (quebec) rhapsodic.org Henriette's Herbal Blog lynne ydw i slumbering lungfish
geek jeremy z
(The Official Website of the Internet)
dave's picks ultramookie Josh Woodward derek balling
news ars technica search engine watch

Powered by WordPress
Hosted on Dreamhost.