firefox在mac和windows下上下边距不同
时间:2010-11-23
来源:互联网
<div id="hero">
<img src="pic/hero.jpg" border="0" width="710" height="320" />
<div id="hrd_word">
<span class="title">Make your meetings work for you</span>
</div>
</div>
#pagecontent #hero {position:relative; margin-bottom:35px; margin-bottom:36px\0/; font-size:0;}
@media screen and (-webkit-min-device-pixel-ratio:0) { #pagecontent #hero {position:relative; margin-bottom:36px; font-size:0;}}
#pagecontent #hero #hrd_word {position:absolute; left:0px; top:0px; width:325px;}
#pagecontent #hero #hrd_word .title {font-family:Helvetica, Arial, sans-serif; font-size:36px; color:#333333; display:block; margin: 16px 0 7px 0; margin: 16px 0 8px 0\0/;}
windows下的ff展现的是23px,(Make your meetings work for you这句话到图片顶部的距离),而在mac下面是18px,有大虾能告诉我是为什么吗。怎么解决,要求是23px。
谢谢
<img src="pic/hero.jpg" border="0" width="710" height="320" />
<div id="hrd_word">
<span class="title">Make your meetings work for you</span>
</div>
</div>
#pagecontent #hero {position:relative; margin-bottom:35px; margin-bottom:36px\0/; font-size:0;}
@media screen and (-webkit-min-device-pixel-ratio:0) { #pagecontent #hero {position:relative; margin-bottom:36px; font-size:0;}}
#pagecontent #hero #hrd_word {position:absolute; left:0px; top:0px; width:325px;}
#pagecontent #hero #hrd_word .title {font-family:Helvetica, Arial, sans-serif; font-size:36px; color:#333333; display:block; margin: 16px 0 7px 0; margin: 16px 0 8px 0\0/;}
windows下的ff展现的是23px,(Make your meetings work for you这句话到图片顶部的距离),而在mac下面是18px,有大虾能告诉我是为什么吗。怎么解决,要求是23px。
谢谢
作者: als0470 发布时间: 2010-11-23
换个字体试试看。可能是不同系统下的字体选用不一致造成。
作者: mochimo 发布时间: 2010-11-28
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28