Could somebody please clarify the use of Conditional Comments for providing different rules for older IE versions
My site set up has the main xhtml files in the root directory, with directories below called css and images.
Problem 1
In my style sheet, one rule includes this ..
.box{ background-image:url(../images/beigebox44.png); }
but for older IE browsers, I’ll opt to use this image instead (the one without a dropped shadow effect on a transparent background)
../images/beigebox44.gif
Where do I put this
<!--[if lt IE 6.0]> <![endif]-->
Problem 2
Due to the way IE handles outset / inset borders differently to Firefox I also want to alter the CSS rule here too.
For Firefox border-color:#262e9a; but for IE #787FCD
Again, where does the Conditional comment go please


Reply With Quote

Bookmarks