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

Re: color: how to specify an area of?

From: John Anthony Lewis <lewi0371@mrs.umn.edu>
Date: Sun, 20 Oct 2002 13:45:46 -0500
Message-ID: <11198791971.20021020134546@cda.mrs.umn.edu>
To: www-style@w3.org

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
Received on Sunday, 20 October 2002 14:45:50 GMT

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