Defualt colour in the browser?

I remember being told about 8-9 years ago, (from memory now) to change the default colour in your browser, to something like a yukky pink, so that if someone hadn’t specified a body colour, the website would have your default colour of yukky pink.

Why do this?? Sorry, and I may be thinking of this from the wrong angle, but most non web-techie people wouldn’t dream of changing their default colour in their web-browser, so it would show the browser default, which is white, isn’t it?? Surely that’s not a bad thing?

Some people do change the default colour in their browser (may not even be deliberate, just playing around with settings). Some browsers may default to grey instead of white. That’s why it’s important to specify a background colour of white if that’s what you want – you can’t rely on people having it as a default. Sure, almost all of them will, but there will be some that don’t, and for the effort of typing background-color:white; you might as well make sure that your site will look as (close as possible to what) you intended.

The basic rule is that if you’re defining any one of: foreground colour, background colour, link colour, link hover/focus colour, visited link colour, then you should define all of them. Otherwise some people with non-standard defaults will see a complete mess.

You’d have to ask the person who advocated it! Presumably it’s just to pick up on bad web design. Zeldman spoke about this a few years back, posing it in his inimitable way:

Is your (website’s) underwear showing?

Stevie’s comments are right on the mark.