![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hi, maybe you guys know something I don't know... Is it possible (and how) to achieve the following: 1) A <BODY> with specific background-color, say blue. 2) A <DIV class='main'> (which contains the main content text of the page) with no colors assigned at all. The idea is that the 'main' class would be presented to the reader with the browser's default color sheme. This is usually black on white but could be anything. I'd like to grant the reader the freedom to select their own colors for the content of the page, so I don't want to set it to black/white explicitly in my style sheet. I would still like to play a little with colors on the rest of the page, i.e. menus, title bar, footer, space between these elements. Problem is: If I don't set colors for the 'main' class, the background- color of body shines through or is inherited. Any ideas? |
![]() |
| Thread Tools | |
| Display Modes | |
| |