Chris Blake wrote:
>
> UPDATE:
> I have done those two things, and it now looks like this (this is in a
> separate style sheet, not in the head or amongst the code):
>
> <!--[if lte IE 7]>
>
> <style type="text/css">
>
> td{
> border: 1px solid #fff;
> }
>
> #main .content{
> padding: 0px;
> margin-bottom: -20px;
> }
>
> </style>
>
> <![endif]-->
>
> It works in IE, the problem is the other browsers, that do not need
> the hack, are reading it too.
>
> Thanks, CB
The above Conditional Comment is not a style sheet: It contains the
styles (or style sheet for the version (s) of IE you want to hit). The
Conditional Comment goes in the head of the document, beneath the link
to your compliant browser style sheet (s).
>
>
>
>
>
>
>
>
>
>
>
>
>
>
______________________________________________________________________
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/