- From: David Perrell <davidp@earthlink.net>
- Date: Fri, 22 Nov 1996 16:24:01 -0800
- To: "Gordon Blackstock" <gordon@quartz.gly.fsu.edu>, <www-style@w3.org>
Gordon Blackstock wrote:
> Consider this combination:
>
> <style>
> .hi { color: yellow; background: green }
> </style>
>
> <body bgcolor=green text=yellow>
This is no help if the background is a bitmap. But if a color name
'clear' were defined such that clear text made its background
transparent, then this:
<STYLE>
BODY { background: url(dark.gif) }
P { color: yellow }
.hi { color: clear; background: url(light.gif) }
</STYLE>
.
.
<P>this week in <span class-hi> w I r E d </span>
would put "w I r E d" in a box filled with light.gif and having
dark.gif showing through the letters.
David Perrell
Received on Friday, 22 November 1996 19:41:34 UTC