W3C home > Mailing lists > Public > www-style@w3.org > November 2005

[CSS] Proposal: color:transparent

From: Manuel Strehl <manuel.strehl@stud.uni-regensburg.de>
Date: Thu, 24 Nov 2005 19:32:19 +0100
Message-ID: <43860733.8080902@stud.uni-regensburg.de>
To: www-style@w3.org

Hi.

I was just coding a navigation bar:

<ul>
    <li><a>Start</a></li>
    <li>...rest of navigation

Then I wanted to replace the "Start" by an image, and that should be 
done by style. Unfortunately, there's no way (that I found) to let the 
text of an element vanish without letting the whole box content 
disappear. Therefor my

Proposal: New value for property "color": "transparent" (equivalent to 
"transparent" in "background-color").

Advantage: Allows to replace text nodes by using stylesheets. Not really 
hard to implement in UAs.

Disadvantage: ?

Regards
Manuel
Received on Thursday, 24 November 2005 18:32:18 GMT

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