RE: [CSS] Proposal: color:transparent

Hi,

From: Manuel Strehl <manuel.strehl@stud.uni-regensburg.de>
>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 [...]

Use generated content[1].

ul > li:first-child > a { content:url(start.png); }

[1] http://www.w3.org/TR/css3-content/

Regards,
Simon Pieters

Received on Thursday, 24 November 2005 19:06:53 UTC