background-color
by Christopher Higgs <chiggs(at)unimelb.edu.au>
|
Date: |
Thu, 31 Oct 2002 08:52:46 +1100 |
To: |
hwg-techniques(at)hwg.org |
|
todo: View
Thread,
Original
|
|
** This post has been redirected by the List Guides
** Send your reply either to the list or directly to chip.wiegand(at)simrad.com
I hope this shows up on the list.
I am trying to get a background-color to work for any selector other than
body. Is this possible?
It is according to the specs. For example:
body { background-color: #ffffff; color: #000000; font-family: verdana,
sans-serif; text-align: center; }
.menu { position: absolute; top: 150px; left: 2em; margin: 0px;
font-family: verdana, sans-serif; color: black;
background-color: #c0c0c0; font-size: 75%}
The body background-color works, no matter what color I set it to, it
changes the page color for the body,
not including the seperate sections, such as the .menu section. I can set
the .menu section to any color and
it will always be white, regardless of the background color. I have tried
this in IE, Netscape, Mozilla and Opera.
They all behave the same way.
Why?
--
Chip Wiegand
Computer Services
Simrad, Inc
www.simradusa.com
chip.wiegand(at)simrad.com
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA