Click to See Complete Forum and Search --> : Help with browser compatibility!


joehotgrafix
01-08-2010, 07:35 AM
Hello,

Wonder if you can help, i'm very new to coding, and i have an error in Dreamweaver showing as 'error parsing styles'. It effects IE 6.

The code flagged is:

body {
background-color: #EED38D;
background-image: url(images/background.gif);
background-repeat: repeat-x;
a img {border:0; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #333;
color: #333;
}

}

Hope you can help!

Thanks,

Joe

CFHutton
01-08-2010, 07:55 AM
body {
background-color: #EED38D;
background-image: url(images/background.gif);
background-repeat: repeat-x;
}

a img {border:0; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #333;
}


Hard to be sure what declarations go with what rule, but there's clearly a problem in that you nested that "a img" rule inside the rule for "body".

cfh