skip to content
Website Builder

Internet Explorer 3 pixel Float Fix

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

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

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

This shows error fixed.

CSS play Support


CSS play Recommend

Free, practical CSS menus, layouts, and examplesPSD to HTMLuk white label shopping carts for resellersSitegrinder

Follow CSS play

Facebook   Twitter



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.



 

CSS play Testimonial

"The citroen.co.uk web site uses
CSS play code for the site drop down menus.
This code works seamlessly in IE 6 & 7, and is an excellent solution to the Creative requirements of the site."

Damon Clark - Brandwidth