Posted: Fri Nov 20, 2009 7:17 am Background color not displaying
Hi-
I am unable to get the background color to display. I checked the syntax of my css file and my source/html file and as far as I can see, they are correct. But it's still not displaying when I view it in Firefox or Safari. I'm sure it's something obvious that I'm missing. What am I doing wrong? (I posted code below). Thanks.
---------
===============
CSS File
===============
<style type="text/css">
body
{
background-color: "yellow";
}
p
{font-family: "Trebuchet MS";
font-size: 1em;
}
Remove the quotes from the color name. Using color names is not good for some browsers. hex color codes
Quotes are only required for font names that consist of two words with spaces, not color names.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum