Click here to get back home

background-color: #777777 not working in CSS

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
background-color: #777777 not working in CSS Kevin Yu 08-03-2004
Posted by Kevin Yu on August 3, 2004, 4:20 pm
Please log in for more thread options
When I declare on HTML page

<LINK href="mycss.css" type="text/css" rel=stylesheet />
....
<BODY class=myclass>

in mycss.css

BODY { FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: Arial, Geneva;
background-image: url(images/back.jpg); }

BODY.myclass { FONT-WEIGHT: bold; FONT-SIZE: 15px; FONT-FAMILY: Arial, Geneva;
background-color: #777777; }
....

the background-color in the second declaration is NOT taken but the "normal"
background image back.jpg is used for the background.

How do I get #777777 as background-color ?

Kevin



Similar ThreadsPosted
Table border & backgroundcolor May 11, 2005, 4:51 pm
HTTP GET not working ...why? March 9, 2005, 7:05 pm
CSS not working with XHTML September 28, 2006, 2:07 am
CSS not working with XHTML September 28, 2006, 2:09 am
getAttribute ('id') Not Working December 5, 2006, 9:57 am
SSI working environment May 31, 2007, 10:23 am
Z-index not working? March 27, 2008, 10:55 pm
Are You Tired of Working for your boss? Why not for yourself? September 16, 2004, 7:01 am
z-index style not working December 21, 2004, 2:36 pm
URL link using Button not working in IE June 8, 2005, 2:43 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap