On 6/15/07, Jason Chan <[EMAIL PROTECTED]> wrote:
>
> hey all,
>
> Is it just me or is display:inline necessary when floating with columns bc
> the double margin bug in IE6.
> I ask this because i have seen many sites, that do not require the display
> inline for it to appear properly in IE and yet still float columns:
>
> ie.
>
> #mid-one, #bottom-one {
> float: left;
> width: 430px;
> margin-right: 40px;
> }
>
> #mid-two, #bottom-two {
> float: left;
> width: 220px;
> }
>
> I on the other hand will have to enter display: inline (as shown below for
> it to work)
>
> #mid-one, #bottom-one {
> float: left;
> display: inline;
> width: 430px;
> margin-right: 40px;
> }
>
> #mid-two, #bottom-two {
> float: left;
> display: inline;
> width: 220px;
> }
>
>
> I guess my main question is...
> Is there something that im not reading from this person's code that
> prevents
> the double margin and not need the display: inline property???
>
>
> do they have a declaration in a seperate style sheet that adds display:
inline to all divs maybe? i have seen set ups like that so that it will just
add it in advance. i've also seen it with height: 1% applied to general
things like div, or ul. that is the only thing i can think of because i
always end up with the float bug as well
Jeff
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/