+ -
当前位置:首页 → 问答吧 → ie8 字体大小不一

ie8 字体大小不一

时间:2011-10-10

来源:互联网

ie8 模式 
字体大小不一 
谁遇到过 使用ie7模式正常 或者代码中加入
<meta http-equiv="x-ua-compatible" content="ie=7" />
也正常 但是想知道比如jira 这些是如何让字体正常的,看过源码,没有上面这一行
跟字体相关css如下


html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}img,body,html{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;}q:before,q:after{content:'';}

html {
overflow-y:auto;
}

body {
font-size: 13px;
font-family: '宋体',Arial,Helvetica,sans-serif;
margin: 0px;
}


谁遇到过 求解

作者: dimg_ren   发布时间: 2011-10-10

不同浏览器相同字体、字号显示得可能会有所不同,但不会相差太大,不用考虑的

作者: fuwenhai   发布时间: 2011-10-10

热门下载

更多