color: how to specify an area of?

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 UTC