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

color: how to specify an area of?

From: Jonathan Chetwynd <j.chetwynd@btinternet.com>
Date: Sun, 20 Oct 2002 18:39:34 +0100
Message-ID: <3DB2EA56.1040808@btinternet.com>
To: www-style@w3.org

Is there a recognised or correct way to display an area of color, using css?
if not, is one planned, and if not why not, this is plain weird.

---

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>

---

a dhtml paint project under construction is here: 
http://www.peepo.com/alfy/feedback.html

thanks

jonathan chetwynd
Received on Sunday, 20 October 2002 13:39:15 GMT

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