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

Re: color: how to specify an area of?

From: fantasai <fantasai@escape.com>
Date: Sun, 20 Oct 2002 14:04:12 -0400
Message-ID: <3DB2F01C.3030301@escape.com>
To: www-style@w3.org

Jonathan Chetwynd wrote:
> 
> The following works in a number of ua's but not ie6, as a 'broken' link 
> is displayed.
> 
> <style type="text/css">
>    .purple{background-color: #990099;}
> </style>
> 
> <a><img class="purple" width="32" height="32" alt="Purple" ></a>

The 'src' attribute of <img> is required; the whole purpose of the element
is to embed an image in the document. IE6 is correct in reporting an
error.
Received on Sunday, 20 October 2002 14:04:36 GMT

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