Return to Snippet

Revision: 4693
at January 16, 2008 08:01 by oibrahim


Initial Code
<!--
After hours of trying different floats, padding, clearing etc, the fix is despairingly simple - just put a position:relative element in the div that contains the border declaration, as follows:
-->

<div style= "position:relative; border: 1px solid #ccc; padding-left: 20px; padding-right:8px;”>

Initial URL
http://www.blotdesign.com/writing/knocked-out-border-by-float-in-ie6

Initial Description


Initial Title
Vanishing borders in IE6 fix!

Initial Tags


Initial Language
CSS