A LIST Apart: For People Who Make Websites

No. 224

Discuss: Long Live the Q Tag

Pages

« First  <  10 11 12

111 Off-topic?

Rob, I think you are missing the point.

My personal opinion is that quotation marks should not be added by the browser as is required by the W3C recommendations, and that their addition by browsers rather than the author of the content could in fact be to the detriment of accessibility. Besides, to my mind, quotation marks are part of the content and not presentational information to be left to CSS.

Yes, it is unfortunate that Internet Explorer doesn’t support certain things, but that wasn’t the focus of what I have been saying. And I am not trying to justify anything about Internet Explorer. The point I rasied was about whether or not control over punctuation should be with the browser at all. The fact that browsers (except IE) allow you to control the delimiting quotation marks that they add via CSS is pretty much irrelevant to that discussion. If you turn off CSS, the browser’s default styles will still be active and the delimiting quotation marks they add will still be there. CSS rules you add will not fix the fact that the browser has control over your punctuation – your content.

And for the record, I find it unfortunate that you have felt it necessary to descend into rudeness – I will not waste my time replying to you if it continues. If you have a point, I suggest that you collect your ideas into a coherent post before hitting the submit button.

posted at 05:44 pm on October 20, 2006 by Jon Gibbins

112 Use of IE CSS expressions

Another option: leave the good browsers’ generated content alone (cool idea though), and hack IE.

[removed] function fixquotes(e) { if (e[removed].substring(0,1).search(/”/) -1) e[removed] = '"' + e[removed]; if (e[removed].substring(e[removed].length-1,e[removed].length).search(/"/) -1) e[removed] = e[removed] + ‘”’; }
[removed]
<style type=“text/css”>
q {fixquotes:[removed]fixquotes(this));}
</style>

…Good for developers who are in those jobs with high-paying corporate clients, but want to stay as close to semantics as possible.

posted at 12:32 am on November 15, 2006 by Drew Diller

113 I think the best approch is using a behavior

Hence only IE support it.

posted at 08:11 am on November 22, 2006 by Gilad Fitoussi

114 Use straight quotes

I tend to use straight quotes instead of using css to needlessly complexify your content to that degree. I’m sure that has been said by others in all of these pages of comments.

It may offend one’s web 2.0/css sensitivities, but it’s easy, simple, and takes no time to do a search-replace.

posted at 10:21 pm on February 7, 2007 by Ian Smith

Pages

« First  <  10 11 12

Discussion Closed

New comments are not being accepted, but you are welcome to explore what people said before we closed the door.

Got something to say?

Discuss this article. We reserve the right to delete flames, trolls, and wood nymphs.

Create a new account or sign in below if you’d like to leave a comment.

Remember me

Forgot your password?

Subscribe to this article's comments: RSS (what’s this?)