- Ruthsarian :
- Layouts :
- Labs :
- Blog :
- Contact :
June 01, 2005
IE Boxing
Here's a demo I made displaying a rounding error with IE and my solution to it.
Basically, any time you've got two or more floats next to each other and their widths, defined in percentages, equals 100%, you're going to run into this rounding error.
I've seen this a lot, but never really focused on it as I found that other hacks would sometimes resolve the issue.
But the hack presented in the demo ( setting negative margins on the right-most floated block element ) works much better and is less hacky. I like it.
Hopefully you will find it useful.
Posted by Ruthsarian at 05:15 PM
| Comments (2)
Awesome! I was wondering what was going on with my eCommerce site. Everything would always work smoothly in FireFox, but every once in a while I would get my right column dropping below my content because of this bug.
Great fix!
Posted by: Eric W at June 10, 2005 07:13 PMThanks You for your elegant hack. I am a novice in CSS, designing a new page in it (at work) and most of explanations are so obscure that I have a hard time to get it. Yours is the best. And the design of your site is something to admire
Posted by: Larisa Fak at July 6, 2005 04:39 PMThanks again
Larisa
Post a comment