Mobile app version of vmapp.org
Login or Join
Welton855

: HTML special character (glyph) looking not the same in different browsers I am using an html crown in my website, character code is ♛, but this looks different in the browsers. Firefox

@Welton855

Posted in: #CrossBrowser #Html

I am using an html crown in my website, character code is ♛, but this looks different in the browsers.

Firefox 6.0 -> different
Chrome 13.0 -> different
IE 9.0, Safari 5.1, Opera 11.50 -> same


I have tried to explicit add a font-family to the span, but this does not help.

Anyone have an idea how I can get this the same in the browsers.

Check this post in differnt browsers and see how the char (glyph) changes. ♛

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Welton855

2 Comments

Sorted by latest first Latest Oldest Best

 

@Megan663

Since your preferred glyph is a graphic, I would suggest an alternative you didn't mention. It is the one recommended back when Wingding fonts were disallowed from the HTML standard. If you want to use an image, use an actual image. SVG would be idea if all your supported browsers can handle it. Otherwise, use a sufficiently large PNG to cover the largest font you plan to use. (I suggest allowing for at least 150% increase in your largest font for those who magnify their screen due to vision difficulties.)

10% popularity Vote Up Vote Down


 

@Gail5422790

After knowing that the correct name is a glyph I have searched for a solution, but it cannot be done. There are only 3 things you can do.

1) Use the @font -face in css with a special font that has the character. The character will display the same in all browsers.

2) Choose your audience: Just restrict access to the website for certain browsers, tell them to change browser.

3) Just leave it like it is, some glyphs change only slightly.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme