0

I have a link in the xhtml file which is working fine (mouse hover) in IE8, But when I open the same page in IE9 and when I mouse hover on the link the font size is increasing.

Can some one tell me why is it happening?

Please any help will be greatly appreciated.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
              "w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">;
 <html xmlns="w3.org/1999/xhtml"; xmlns:h="java.sun.com/jsf/html";
  xmlns:c="java.sun.com/jsp/jstl/core"; xmlns:ui="java.sun.com/jsf/facelets";
  xmlns:f="java.sun.com/jsf/core"; xmlns:p="primefaces.org/ui"; class="no-js">
<head>
 <script src="js/modernizr-1.0.min.js"></script> 
</head>

But it didn't work -:(

4

1 回答 1

0

字体文件是否与您的网站位于同一域中?如果不...

IE and Firefox implement the same origin policy, so any font library served 
on a different domain from the page will not be downloaded unless using CORS.

点击“已知问题”...

http://caniuse.com/#feat=fontface

于 2014-05-30T07:36:51.580 回答