SouljaGirl
New Member
I have been searching for hours, asked friends and it didn't work out. So I hope you guys can help me. My website uses a custom font, but IE(10) doesn't support that on the way I do it. I have no idea it supports other methods. Here is mine:\[code\] @font-face { font-family: shardee; src:url('fonts/Shardee.ttf'); }\[/code\]It is not necessary to have a custom font in Internet Explorer, but it would be nice. When Internet Explorer doesn't know the font, it used its default font. But the problem is, that the font-size of the custom font is perfect, but of the Internet Explorer default font it is way too big. I tried to fix it with a IE specific css code, but it just doesn't work at all. I am using the following css code for Interner Explorer:\[code\] <!--[if IE]> <style> #menu ul li{ font-size:15px; } </style> <![endif]-->\[/code\]I have also tried it by a external stylesheet, which looked like this:\[code\] <!--[if IE]> <link rel="stylesheet" type="text/css" href="http://stackoverflow.com/questions/15744026/<?php echo get_stylesheet_directory_uri() ?>/style/ie.css" /> <![endif]-->\[/code\]The function I use in the php is a wordpress function that takes you to the path of your website. If you are not using wordpress, you can forget that code and leave it blank.The problem is not the path, the path is correct. I have looked into the source code in the browser, and it showed me the code I have in ie.css. The code in ie.css is exactly the same as above, but without the tags ect. I hope you guys can help me with this problem. 2 solutions are possible as far as I know. Let the ie specific css work, or show me a way to create custom fonts in IE. I am using Internet Explorer version 10. You can see the site here, but once it is fixed it will disappear because I don't need to put it on a subdomain once it is fixed. Kind regards,Bart Roelofs