Safari Font Display
-
Comments:
- here.
For some reason, the character I use as a spacer, ☆, doesn’t seem to want to display in Safari. It works fine in FireFox, Opera, and possibly IE, but not in Safari: This surprises me, since this is one browser I would have thought it would work in. As it turns out, Safari may actually be doing the right thing here. To include Unicode characters in the CSS :before
pseudoselector, you must escape them. Instead of using: #topnav li:before {content:"☆ ";}
I’ve used: #topnav li:before {content:"\2729 ";}
Thanks to a great post over on mezzoblue.