Forums

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

Home Forums CSS CSS Layout problems in IE6 Re: CSS Layout problems in IE6

#64241
vincent
Member

Can you post an image of what it looks like in IE6? I don’t have an IE6 I could look at.

If you are able to fix it in IE6, just use a conditional statement to add another style sheet if the user has IE6. Make sure you put !important in each of the CSS rules:

Example:
body {font-size:12px !important;}

IE6 conditional statement that you put in your head section:
<!–[if IE 6]>
<link rel="stylesheet" href="ie6.css" type="text/css" />
<![endif]–>

Where ie6.css is a CSS file you create that has the code that fixes the problem in IE6. If the user doesn’t have IE6, that file won’t be called and they will view the website as it displays without ie6.css.