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;
}
谁遇到过 求解
字体大小不一
谁遇到过 使用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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28