W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2005

RE: Use of the Q element for inline quotes

From: Alastair Campbell <ac@nomensa.com>
Date: Mon, 10 Oct 2005 12:22:45 +0100
Message-ID: <2A876A583754DD4E8E03CFE899FA16062756ED@saturn.intranet.nomensa.com>
To: "Eadie, David" <D.Eadie@gcal.ac.uk>
Cc: <w3c-wai-ig@w3.org>

> Internet Explorer does not enclose the content of 
> the Q element in quotes, while browsers such as Firefox, 
> Mozilla and Opera do enclose the content of the Q element in quotes. 

I have generally put the quotes in the content (HTML) rather than
relying on browser support. I would suggest that you use CSS to remove
the 'added content' that standards based browser put in, and just have
the quote marks in the content. 

IE doesn't support adding in the quotes via CSS yet, which is why I've
taken this approach so far.

Although feeling slightly sullied, I don't think it poses any practical
problems for users, and it isn't usually too hard to add in the quotes
to the content.

I think the CSS code is something like:

q:before, q:after {content: none;}

If you did want quotes added automatically, perhaps have a little
JavaScript that uses something like the Suckerfish series of scripts to
add the CSS functionality to IE?

Kind regards,

-Alastair

-- 

Alastair Campbell   |   Director of Research & Development
0117 929 7333       |   ac@nomensa.com

Please refer to the following disclaimer for this message:
http://www.nomensa.com/email-disclaimer.html 
Received on Monday, 10 October 2005 11:23:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:23 GMT