Conditional CSS issue
I want to have alternate padding for IE browsers.
I have the statement:
This is enclosed in comments so other browsers don't see it but IE doesn't see it either.
padding: 5px 13px 10px 9px;
If I remove the comment tags then IE sees it but then so do all the other browsers.
What am I doing wrong?
First of all remove the sytle tag and put it somewhere else. What are you exactly trying to do? if you have alternate padding for IE browsers then the condition should be <[if IE]>.
By the way also try <!--[if !IE]> -->. the ! not could be in the wrong place.