From: "John Lockerbie" <[EMAIL PROTECTED]>
>there is at least a problem with IE7 and Windows
>XP.
>
>Please would somebody have a look at
>http://www.catnaps.org/20071217/index.html -
>http://www.catnaps.org/20071217/catnaps.css - and suggest what I might
>do about it.
In your style sheet you have the "easyclearing" construction as follows -
.fix:after {
content:".";
visibility:hidden;
display:block;
clear:both;
height:0;
}
* html .fix {
height:1%;
}
.fix {
display:block;
}
Unfortunately, this is not a complete instance of the code (as given on PIE
[1]), and thus is actually missing the very part that IE7 needs to do the
clearing you've asked for.
If you will change your construction to the following, I think you will have
success with IE7. Tanfa (Claire Campbell) has an explanation [2].
.fix:after {
content:".";
visibility:hidden;
display:block;
clear:both;
height:0;
}
.fix {display: inline-block;}
/* \*/
* html .fix {height:1%;}
.fix {display:block;}
/* */
I hope that helps.
~holly
[1] http://positioniseverything.net/easyclearing.html
[2] http://www.tanfa.co.uk/archives/show.asp?var=300
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/