Profile image for Joost Kiens joost.kiens
Quotation marks surrounding quotes should normally not be in the markup wrapping or inside quotes.
Use with UTF-8.

More info:
http://html5doctor.com/blockquot...
Language
CSS
Tags
quotes

Proper way to add quotation marks to quotes

1 /* for two levels of nested quotations */ 2 q {quotes: '“' '”' '‘' '’';} 3 /* extra content definitions for pre-2011 WebKit */ 4 q:before {content: '“'; content: open-quote;} 5 q:after {content: '”'; content: close-quote;} 6 q q:before {content: '‘'; content: open-quote;} 7 q q:after {content: '’'; content: close-quote;} 8 /* q in blockquote */ 9 blockquote q:before {content: '‘'; content: open-quote;} 10 blockquote q:after {content: '’'; content: close-quote;} 11 blockquote q q:before {content: '“'; content: open-quote;} 12 blockquote q q:after {content: '”'; content: close-quote;} 13 /* blockquote hanging opening quote */ 14 blockquote:before {display: block; height: 0; content: "“"; margin-left: -.95em; font: italic 400%/1 Cochin,Georgia,"Times New Roman",serif; color: #999;}

Comments