Forum Moderators: not2easy

Message Too Old, No Replies

Different fonts for ie6

         

batti3004

7:05 pm on Nov 18, 2010 (gmt 0)

10+ Year Member



Hi, i have a site that uses css, i use @font-face, it works great in majority of browsers, expect ie6, ie6 does not display Unicode characters, how i can make ie6 load a different font?

SuzyUK

4:08 pm on Nov 19, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



just a thought, it works for anytime you specifically want to target an IE version for whatever reason..

<body>
<!--[if IE 6]><div id="ie6"><![endif]-->
<!--[if IE 7]><div id="ie7"><![endif]-->

<p>all normal content here</p>

<!--[if (IE 6)|(IE 7)]></div><![endif]-->
</body>


not suggesting you incorporate all IE versions but if you do have IE6 or 7 specific CSS then is another way to do it so it is one CSS file - this just demonstrates 2 versions to show the OR clause in use for the closing div..

This is just a way to add a top level ID to wrap all other content in, the ID itself can then be used to specifically overrule anything for that browser alone within your stylesheet

so to use in your @font-face case, add your second @font-face to your stylesheet then where ever you want to overide the first one..

H1 {font-family: myfont, arial, sans-serif;}
#ie6 H1 {font-family: myIEfont, arial, sans-serif;}


Suzy

Wlauzon

12:39 am on Nov 24, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just checked our site, and IE6 usage is at .044%.

I would not bother with it.

milosevic

9:26 am on Nov 24, 2010 (gmt 0)

10+ Year Member



ie6 does not display Unicode characters


I believe this is not true - see [alanwood.net...] - article about how to enable unicode support in IE 5, 5.5 and 6.

I just checked our site, and IE6 usage is at .044%.

I would not bother with it.


It's important to remember that other sites see very different proportions of users for different browsers, there are audiences and demographics that are far more or less likely to use IE6. I work on at least one site with 15%+ IE6 visitors still today.

However, in my mind even with a greater proportion it's not worth stressing to make sure IE6 users get the same visual experience anymore.