Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS how i can solve browser problem Re: how i can solve browser problem

#55810
Polo
Member

I usually use different stylesheets for IE using Conditional comments. First, i load my main stylesheet, then i load the IE stylesheet using these lines :

<!–[if IE 7]>
Your IE stylesheet
<![endif]–>

This part of the code will only be read if you are using IE 7 browser. So, in your IE stylesheet, you only have to put the css rules that need to be overided to make it work in IE 7.