Edouard_H

msg:3483449 | 7:53 pm on Oct 21, 2007 (gmt 0) |
Leave out the "It" so that it's <!--[if IE 6]> and it should work for you.
|
erdy

msg:3483520 | 10:44 pm on Oct 21, 2007 (gmt 0) |
Hi Edouard_H, I want to exclude IE6 and only apply rules to IE 5 & 5.5 So surely I don't want to do what you suggest? The lt is 'less than' isn't it?
|
appi2

msg:3483524 | 10:59 pm on Oct 21, 2007 (gmt 0) |
Have a look at this thread its in the CSS libray MS conditional comments [webmasterworld.com]
|
Fotiman

msg:3484237 | 6:31 pm on Oct 22, 2007 (gmt 0) |
@erdy Looks correct to me. Be aware that this only applies to IE/Win (not IE on the Mac). Also, could it be that you have other styles that are overriding your IE5 styles? For example, if your IE5 styles are included BEFORE your other styles, or if your IE5 styles have a lower specificity.
|
Dabrowski

msg:3484419 | 9:56 pm on Oct 22, 2007 (gmt 0) |
Here's the MSDN page for the comments: [msdn2.microsoft.com...] It appears you have the syntax correct, I'd have to say same as previous, it may be a CSS conflict. Try sticking something very obvious but unique in your ie5.css, like:
BODY { border: 10px solid red; } That shouldn't be defined anywhere else but will certainly stand out if the CSS has been included.
|
|