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

Re: Suggestion: 'resolve' property

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 04 Aug 2003 13:27:33 +0200
To: Jens Meiert <jens.meiert@erde3.com>
Cc: www-style@w3.org
Message-ID: <3f3041f5.275739842@smtp.bjoern.hoehrmann.de>

* Jens Meiert wrote:
>Often using <acronym /> and <abbr /> elements, I wondered (but didn't look
>for, so excuse me if this post is redundant or the problem already solved) if
>there is any possibility to resolve these elements when printed.

The content property, e.g.

  abbr[title] { content: attr(title) }

http://www.w3.org/TR/css3-content/#content

>There would be two possible values (true|false), e.g. using 'false' as
>default. -- When printed (or generally displayed), it could be rendered like this:
>
>   HTML (Hypertext Markup Language)
>   Captology (Computers as persuasive technologies)

@media print { abbr[title]::after { content: "(" attr(title) ")" } }
Received on Monday, 4 August 2003 07:27:48 GMT

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