Re: color: how to specify an area of?

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 UTC