Hard to know what the issue is, it could be several things or a combination. In order of which I see as most likely:
1 ) If you are using the eolas (or any other) stand-alone installation of IE 6 on a computer that also has IE 7 installed, IE 6 will think that it is IE 7 when it sees these comments and thus ignore them just like IE 7 would. A real IE 6 browser installed on a computer as its primary Explorer browser will follow the comments as intended.
2 ) Using an XHTML DOCTYPE throws IE 6 into Quirks mode so, your styles may not work as expected. To test, use a HTML 4.01 strict DOCTYPE and just a plain <html> opening tag.
3 ) If the styles included on the IE 6 specific stylesheet aren't written correctly in order to produce the desired effect, they won't work anyway, even if IE 6 does look at them. To Test, remove the conditional comments.
4 ) Styles cascade so with this:
Code:
<link href="stylesheet3.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]>
<link href=ie-stylesheet.css rel="stylesheet" type="text/css" />
<![endif]-->
<style type="text/css">
<!--
body {
background-image: url(images/damask.jpg);
background-repeat: repeat;
margin: 0px;
padding: 0px;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
}
-->
</style>
The styles in red will override anything in either stylesheet. To Test, get rid of the red stuff.
5 ) The href attribute should be quoted:
Code:
<link href="ie-stylesheet.css" rel="stylesheet" type="text/css" />
6 ) Poorly constructed META tags may be interfering, to test, temporarily remove them.
Bookmarks