Open grayghostvisuals opened 11 years ago
Regarding pull quotes, you definitely should encode “
and ”
in the stylesheet.
Safari 6 doesn't like non-encoded symbols in CSS. I had the problem on my own site and on browserhacks.com.
@HugoGiraudel So it doesn't matter for Safari 6 even if UTF-8 is supported?
Seems so. Here is how I did: https://github.com/HugoGiraudel/hugogiraudel.github.com/blob/master/sass/_helpers.scss#L124.
@HugoGiraudel So I went back to Snow Leopard w/Safari 4.0 and it actually does support non-encoded, recognized UTF-8 characters like quotes. This means you don't need \201C as you've been using. You can even go back to the iPhone 3GS and see that it does in fact have support as well.
Issue on browserhacks.com: https://github.com/4ae9b8/browserhacks/issues/53 Issue on hugogiraudel.com: https://twitter.com/Macxim/status/311052134051373056
Here's an example using Typeplate pull quotes and non-encoded characters in the content: ""
property. This was also used for my testing that I noted above.
http://cdpn.io/cvqmk
Windows 7 on IE8 still seems to be a bugger.
Wow, that's a real shocker to me. I had no idea, I've been using unicode in CSS for ages.
Argh.
Well, how comfortable are we phasing out IE8 support? Personally, I don't mind :P
That's interesting, very neat. But the premis is flawed—the content value doesn't have to be an escaped value.
– Zachary Kain
Designer, Developer Writer, Educator 416-712-8895 zakkain@gmail.com ➝ http://draftingcode.com
Besides all this hullahbahloo I think the :lang
pseudo class selector would be cool to use in order to throw the @mixin an argument for languages that have quotes which differ from the standard and depressing english language.
Here's the idea to give more variety with pull quotes in terms of quote placement. This would be done by passing a string of the authors choosing which depicts the location of the quotes.