W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > July to September 2001

Re: links on white and black background

From: David Woolley <david@djwhome.demon.co.uk>
Date: Wed, 4 Jul 2001 22:19:58 +0100 (BST)
Message-Id: <200107042119.f64LJwt14615@djwhome.demon.co.uk>
To: w3c-wai-ig@w3.org
> 
> Can anyone tell me the best way to specify link colors for links will appear
> with both a white and a black background? i.e the color of the actual link
> need to be different for each of these circumstances. I see this often on
> sites - where there is a navigation bar with a colored background - but the
> links on the rest of the page have a white background.

If you set any colour, you must set all colours (background, text, links,
active link and visited link).  If you use any channel to set any colour,
you must set all colours using that channel. 

If you use a background image, you must set all colours, including the 
background colour; the background colour should be the dominant colour
of the background image; never put text on a background image that has
radically different colours in different parts.

Ideally you should accept the user's colours for pages with significant
content.  Failing that, I'd suggest only using style sheets.   Set all
colour at the point where you set the background, as that is likely to be
the part of the style sheet that works most reliably.

If the user has just had a bad experience with colours, they may well have
colours disabled, anyway.
Received on Wednesday, 4 July 2001 17:38:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:13:55 GMT