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

Re: setting "font-style" for <Q> affects outside quotation characters as well as actual quote

From: John Anthony Lewis <lewi0371@mrs.umn.edu>
Date: Fri, 25 Oct 2002 16:39:28 -0500
Message-ID: <128363934249.20021025163928@cda.mrs.umn.edu>
To: www-style@w3.org

Hello Stephen,
Thursday, October 24, 2002, 12:22:43 PM, you wrote:

> Only the quote itself should be affected by changing text/font
> styles of <Q>.

Why? If the quotes are generated from CSS (using the :before or :after
selectors), you can style the quotes with the :before or :after
selectors. For example,

q{quotes:"\2018" "\2019" "\201C" "\201D";text-decoration:underline}

If the quotes aren't generated with CSS, I see no reason to impose
strange restrictions on those doing things properly for what amounts
to no benefit.

More here: <http://www.w3.org/TR/CSS2/generate.html#quotes-insert>

Received on Friday, 25 October 2002 17:39:15 UTC

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