W3C home > Mailing lists > Public > www-style@w3.org > October 2002

Re: color: how to specify an area of?

From: C. Bottelier <c.bottelier@iradis.org>
Date: Mon, 21 Oct 2002 19:52:35 +0200
Message-Id: <5.1.0.14.0.20021021195024.02196ec0@mail2.iradis.org>
To: John Anthony Lewis <lewi0371@mrs.umn.edu>, www-style@w3.org
Here the file is I used to test the approuch.

The method of using the unicode block character
is also a nice approuch, but lacks the control over
the width of the coloured area, and is even more a
workaround than this approuch.

Christian

At 20:45 20-10-02, John Anthony Lewis wrote:

>Hello Jonathan,
>Sunday, October 20, 2002, 12:39:34 PM, you wrote:
>
> > <style type="text/css">
> >     .purple{background-color: #990099;}
> > </style>
>
> > <a><img class="purple" width="32" height="32" alt="Purple" ></a>
>
>I think you want something like this:
>
>   <style type="text/css">
>   .purple {background:#909; color:#fff; width:32px; height:32px;
>   display:block;}
>   </style>
>
>   <a class="purple"></a>
>
>Although it's kind of an odd thing to do.
>
>--
>John

-----
Microsoft products are susceptible to a large variety of viruses, worms, 
and other fauna.

Received on Monday, 21 October 2002 13:45:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:16 GMT