skip to content

Internet Explorer 3 pixel Float Fix

ERROR
|||||||||||||||||||||||
|||||||||||||||||||||||
|||||||||||||||||||||||
|||||||||||||||||||||||
|||||||||||||||||||||||
|||||||||||||||||||||||
|||||||||||||||||||||||

This shows the 3px mis-alignment that IE6 produces.

FIXED
|||||||||||||||||||||||
|||||||||||||||||||||||
|||||||||||||||||||||||
|||||||||||||||||||||||
|||||||||||||||||||||||
|||||||||||||||||||||||
|||||||||||||||||||||||

This shows error fixed.


Information

This uses an 'inline-block' to vertically align the text, and reduces padding by 3px to bring it back into line with the rest of the browsers.

If you have IE6 then you will see the error and the fix. Any other browser will see identical displays.



Copyright

You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.

Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.

If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.


Recommended Sites

CSS play pages



CSS play recommend

PSD to HTMLSitegrinderSocial Media Applications On DemandQuality UK Web HostingFree, practical CSS menus, layouts, and examples