Kristina Floyd wrote:

> I've always learnt that setting the background colour on a site is a
> very basic thing to do and shows that as a web developer you've taken
> care and pride in your work.

Sounds strange.

> All of the browsers that I use I have set a ridiculously garish
> background colour set to remind myself to do it.  I am teased
> relentlessly for this. However it is important to me.

It's up to you to do so, and you can even enforce it on all pages by 
tuning your browser settings to override backgrounds set on web pages.

> It never ceases to amaze me the number of sites that do not set a
> background colour.

I don't see anything amazing in the idea of letting the browser and her 
user decide the overall background and matching text and link colors. 
It's a very sensible thing to do at least until you know how set all of 
them properly in your author style sheet.

> As if adding body { background-color: #FFFFFF; }
> is a really tedious task.

That would coincide with the most common default these days. If the 
browser setting is something different, maybe there's a reason.

But the technical side of the matter, which is what this list is really 
about, is that it's not safe at all. It _only_ sets the background 
color, without setting background image or text color. What about link 
colors then?

_If_ you set background color, you should, for safety and robustness, 
set all the related settings too. Minimally,

body { background: #FFF; color: #000; }

together with settings for link colors and backgrounds.

Even this isn't really safe. What if the monitor has been configured to 
show #FFFFFF as truly pure white, which really hurts the eye? Maybe the 
browser has been accordingly set to use something less pure - but the 
page style sheet would override this. I don't think this is crucial, but 
mainly because there's really no constructive way to deal with this 
issue, but I'd draw the conclusion that
maybe something a little different from pure white is better than 
#FFFFFF.

Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to