This has me upset that I should be required to code a seperate css page just for IE if I understand these hacks correctly. Here is what I understand so far with example code and please correct me if I am going the wrong way in my thinking.
First I will post the xhtml insert to import css into that page.
Then the IE hack code that I located.HTML Code:<style type="text/css"> <!-- @import url(http://www.url.com/test/css/styles.css); --> </style>
Now I would use the following way of inserting this into my current code om home page.PHP Code:<!--[if IE]>
<style type="text/css">
@import url(ie-styles.css);
</style>
<![endif]-->
Now if this is not the proper way please tell me by example so that I can understand what is going on and how and why. Perhaps I can insert some sort of code within my currently validated css like this.HTML Code:<style type="text/css"> <!-- @import url(www.url/test/css/styles.css); --> <!--[if IE]> <style type="text/css"> @import url(ie-styles.css); </style> <![endif]--> </style>
<\......if ie......\>
Thanks.





Bookmarks