On Mon, 19 Feb 2007, Kor Dwarshuis wrote:

> When using...
- -
>    <!--[if lte IE 6]>
- -
> ..which is, as far as I know, the correct syntax, the css-file is not
> applied to IE5.0, IE5.5 and IE6

The syntax is as described e.g. at 
http://www.quirksmode.org/css/condcom.html
and it works for me (on IE6). So the question arises whether there is 
something special in your style sheet that causes the problem. Have you 
tested this with a very trivial style sheet that helps to see whether it 
is applied at all? I think a URL of a demo case would be important here.

> After removing the space between "IE" and "6" it suddenly works, but then
> IE7 seems to ONLY read 1 statement in the seperate css file (a height: 100%
> statement; which I know is a dangerous one) and applies it in a wrong way.

That's rather strange, but I'd expect strange things to happen if you 
deviate from the common syntax, which has been defined (somewhat 
implicitly) by Microsoft:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/ccomment_ovw.asp

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

______________________________________________________________________
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/

Reply via email to