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

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 UTC