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}
q:before{content:open-quote}
q:after{content:close-quote}
q:before,q:after{text-decoration:none}

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>

-- 
John
Received on Friday, 25 October 2002 17:39:15 GMT

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