日期:2014-05-17  浏览次数:20867 次

html标签在ie10里没起作用

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=utf-8"/><META content="MSHTML 6.00.6000.16788" name="GENERATOR"/></HEAD><BODY><Div Style="margin-top:25px;margin-left:26.250000000000014px;height:100%;width:90%;position:absolute;left:0;left:0;"><DIV><SPAN STYLE="font-size:36;font-family:Times New Roman;">testFontSize</SPAN></DIV></Div></BODY></html>


这段html代码,用ie10打开,字体大小没生效。这个要怎么调试啊?

------解决方案--------------------
refer:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
<HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8"/>
<META content="MSHTML 6.00.6000.16788" name="GENERATOR"/>
</HEAD>
<BODY>
<Div Style="margin-top:25px;margin-left:26.250000000000014px;height:100%;width:90%;position:absolute;left:0;left:0;">
<DIV>
<SPAN style="COLOR: #ff0000">font-size:36;</SPAN>
<SPAN style="font-family:Times New Roman;">testFontSize</SPAN>
</DIV>
</Div>
</BODY>
</html>