在Firefox中打印使字体更大

时间:2014-03-11 10:01:15

标签: css firefox printing

我用css文件进行打印,在IE和Chrome中一切都很好但在FireFox字体中要大得多!!!!我不知道firefox有什么问题。 谁能告诉我什么是错的?

这是我的css文件

*,:before,:after {
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
}

html,
body 
{
    width: auto; 
    height: auto;
     float: none !important;
    margin:10px 20px;
    padding:0;
    background-color: #fff;
    font-family:  "B Yagut", "B Titr";
     line-height: 220%;
    font-size:18pt;
    font-weight:bold;
    direction:rtl;
}

#header,
#footer,
#nav,
#section,
legend,
#bottom-controls, 
#bottom-details,
#tabs-2, 
#tabs-3 {
    display: none;
}

#main {
    width: auto; 
     float: none !important;
    padding: 0;
    height:auto;
}
p { line-height:220%;  font-size:18pt;  font-weight:bold;}
strong { line-height:220%;}




#tabs, fieldset, #tabs-1 {  width: auto;  border-style:none; margin:0; padding:0;  line-height:200%;   font-size:18pt;
    font-weight:bold;}
#tabs ul, #cssmenu{
    display: none;
}
谢谢大家。

0 个答案:

没有答案