css conditional comments
- Started
- Last post
- 4 Responses
- JamesBoynton
Hello
I'm working on a site and i'm using some conditional comments to point to a ie only style sheet. My question is - I have all the styles set in a generic style sheet and then the IE only style sheet with just a few workarounds, do i need to copy over all the styles in the generic style sheets into the IE only one? Or can i just literally keep the IE stylesheet with nothing but workarounds? As in, will the browser look at both if the user is using IE?
Hope this makes sense
Cheers
James
- weestu0
just put the workarounds in the IE only stylesheet
- TheBlueOne0
..and link to both style sheets of course...
- JamesBoynton0
cool, thats what ive done... sorry for explaining so badly.
But because the html page is linking to 2 stylesheet (one of which is ie only) will anyone using ie only see the styles from the ie stylesheet? or will it use both (generic and ie stylesheets)
- monNom0
link ie stylesheet below the regular one so it will overwrite everything.
if PC only, use @import and put an astrisk first.view source here:
http://www.graviti.ca/