![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
If you set any one color (background, text, link, etc.), you must set both background and foreground colors. |
#3
| |||
| |||
|
|
Nico Schuyt wrote: kchayka wrote: If you set any one color (background, text, link, etc.), you must set both background and foreground colors. I often forget to set the backgrond color. Is it acceptable to add to the stylesheet: * {background-color: transparent} ? Better is: body {background-color:#fff; color:#000;} Be sure to include a default color when using background images and/or the background shorthand, too: body {background: #fff url(img.png); color:#000;} If you specifically set foreground and background colors on the body element, all its descendents should inherit from it[1], except for link foreground color(s). ... |
#4
| |||
| |||
|
|
If you set any one color (background, text, link, etc.), you must set both background and foreground colors. The colors used in the side navigation bar make it really hard to read, especially over that background image, and especially in IE due to 100% transparency. That lime green is hard to read on just about any background color, IMO. |
#5
| |||
| |||
|
|
Try leaving the body margins 0, add a container for the content and put the margins on that container instead. Adjust the margins of other elements as needed. |
![]() |
| Thread Tools | |
| Display Modes | |
| |