When anonymous line boxes (boxes that contain inline content) are adjacent to a float, a 3px gap appears... (From Dreamweaver)
Add the class described in the body of this post to the head of your document. Just a comment to your tree-pixel-jog solution, which works fine. Thank you.
Add the class like this (in the "head" section):
<!--[if IE]>
<style type="text/css">
.mybuggyelement { zoom: 1;}
</style>
<![endif]-->
<style type="text/css">
<!--
<style type="text/css">
other styles
</style>
The "div" with the problem is coded like this:
<div class="mybuggyelement" id="mainPart"> ..... </div>
Look at http://lostablones.es/Links/links.html for the fix in action. Use "view source" if you like.
That's all.
Text ID: THREE_PIXEL_JOG_EXAMPLE
To add a comment, please Log in.
It's a winner
by Phil467 on February 21, 2009
I was creating a tabbed panel. I had to apply this hack to the class of my ul statement. After that it worked.
Works great!
by CJ Parsons on December 13, 2008
This worked perfectly - thanks for sharing this solution!