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

Some text-decoration issues

From: Liorean <Liorean@user.bip.net>
Date: Wed, 14 Aug 2002 17:20:19 +0200
Message-Id: <5.1.0.14.0.20020814170510.0227ed30@pop3.bip.net>
To: www-style@w3.org

Hello!

A question brought up by css-discuss made me think that maybe 
text-decoration is a bit flawed; if you set text-decoration to underline on 
a div, then in that have a span with text-decoration set to none, the 
underline of the div continues through the span. Now, this is all a good 
thing I think, since it enables me to through magic use another colour on 
my underline than the text it underlines. BUT, there is no way to exclude 
an element within that div from getting the underline. I think 
text-decoration needs no-underline, no-overline, no-line-through and 
no-blink, each of which would remove any text-decoration of the specified 
type from the element, including the text-decoration that a parent element 
provides. Of course they should be mutually exclusive with their counterpart.

// Liorean
Received on Wednesday, 14 August 2002 11:14:17 GMT

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