Hi everyone
I'm trying to use a css to correct IE's specific problems so that my generic stylesheet remais just that: generic. However, I can't seem to make it work. Can anyone help me?
My XHTML code starts off like this:
page title
...
Thanks in advance.
Check your syntax
In cases like this one should check that the syntax is being used correctly by looking for examples.
It's not [IF IE lte 6] you have divided the version number from it's object [IF lte IE 6]
Try it the correct way and see if things work.
Hugo.
Ok so I tried different
Ok so I tried different combinations as you advised:
[if lte IE 6]
[if lte IE6]
[if IE]
and none of the above work. I figure I must be doing something wrong but I can't seem to find my error.
Could it have to do with my DOCTYPE? I've googled for examples and pages explaining it and so far all I've come up with hasn't worked for me.
Any ideas? Thanks again for your help.
I found it! It really was a
I found it!
It really was a stupid thing...I had
and it had to be:
Apparently there can be no space between "!--" and "[if IE]"
Again, thanks for helping me out.
Yes little things like that
Yes little things like that can matter sorry didn't spot that , as regards your DTD you should not be using 1.1 unless that is you are correctly serving XHTML as application/ xhtml+xml otherwise as text/html (default for most servers) you may only use 1.0.
Hugo.
Thanks again for your help.
Thanks again for your help. It happens to everyone, I don't know yet how I noticed it. And thanks also for the tip related to DTD.