- From: David Woolley <david@djwhome.demon.co.uk>
- Date: Tue, 29 Mar 2005 08:48:03 +0100 (BST)
- To: www-style@w3.org
> div {
> background-color: #fff; /* white bg in div */
> }
>
> h2 {
> color: $fff; /* white text in header */
> background-image: url(cool.png); /* a dark yet transparent image */
> background-standin-colour: #000 ; /*the bg will be black till image
This doesn't degrade gracefully. If you set a foreground colour, you
must set a background colour that contrasts, and you must do using the
same generation of CSS attributes as used to set the foreground colour.
Received on Tuesday, 29 March 2005 08:39:11 UTC