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

Re: new text-decoration proposal

From: Bert Bos <bert@w3.org>
Date: Wed, 22 Oct 2003 18:41:01 +0200
Message-ID: <16278.45853.960478.684661@lanalana.inria.fr>
To: David Latapie <julian27@ifrance.com>
Cc: www-style@w3.org

David Latapie writes:

> I propose a new text-decoration. By now they are almost redundant, 
> border-top and bottom being almost able to replace them. Leaving only 
> the unused strike-through as an original thing.

Strike-through is used in practice. In fact, we use it sometimes when
we update a draft of CSS to show the differences with the previous

Borders are not quite the same as underline and overline. The bottom
border, e.g., is below the descenders, while the underline (depending
on the font) is just below the baseline and goes through the
descenders. Also, smart browsers may interrupt the underline for

> My prposal would be a sort of "font border".
> Three ideas:
> - "hollow fonts" white with a black border. Is it the "engraved" 
> effect? I do not remember. And I would particularly like this one: 
> wood-like color (a carefully chosen shade of maroon) with a golden 
> border.
> - inset and outset borders would have obvious use for 
> greco-roman/monument look

These are defined in the CSS3 fonts module[1], as 'font-effect:
outline' (or 'emboss' or 'engrave')

[1] http://www.w3.org/TR/css3-fonts/#font-decoration

  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos/                              W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Wednesday, 22 October 2003 12:41:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:09 UTC