本文介绍了Firefox和Google Crome中字体大小的CSS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



tr{font-size:4px;}(我正在尝试使用css设置字体大小)在IE中工作,但在Crome和Firefox中不工作
在Firefox和Crome中使用它应该怎么做.

编辑-[在注释部分中移动了OP的HTML代码.]

Hi,

tr{font-size:4px;} (I am trying to set font size with css )is working in IE but not in Crome and Firefox
what I should I do for working it in Firefox and Crome.

Edit - [Moved OP''s HTML code here from comment section.]

<html> <head> <style type="text/css"> body { {font-family:"Arial";} tr{font-size:50%;} div { page-break-after:always; } } </style> </head> <body bgcolor="#FFFFFF" text="#000000"> <br></br><br></br><br></br> <table height="80px" width="80%" border="2" bordercolor="{$BrdColourCode}" cellpadding="0" cellspacing="0" valign="center" align="center"> <tr bgcolor="{$BKColourCode}"> <th style="font-size:55px">
</th> </tr> </table> <div style="height:1px"></div> <br></br><br></br><br></br> <table height="65px" width="80%" border="2" bordercolor="{$BrdColour}" cellpadding="0" cellspacing="0" valign="center" align="center"> <tr bgcolor="{$BkColour}"> <th style="font-size:50px">
</th> </tr> </table> <div style="height:1px"></div> <br></br><br></br><br></br> <table height="50px" width="80%" border="2" bordercolor="{$BrdColour}" cellpadding="0" cellspacing="0" valign="center" align="center"> <tr bgcolor="{$BkColour}"> <td style="font-size:20px">
</td> </tr> </table> <br></br><br></br><br></br> <table width="80%" border = "1" bordercolor="#4F81BD" cellpadding="0" cellspacing="0" valign="center" align="center"> <tr> <th ROWSPAN = "{$rowspan}" border="1" bgcolor="#4f81bd" bordercolor = " #4f81bd" style = "width = 5px"></th> <th COLSPAN = "{$columnspan}" align = "left" bgcolor="#DCE6F2"></th> </tr> <tr> <th>Name</th> <th>SD</th> <th>X-Y Modulation</th> <th>Slice Thickness</th> <th>SUREIQ</th> <th>Max mA</th> <th>Min mA</th> </tr> <tr> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> 

推荐答案




这篇关于Firefox和Google Crome中字体大小的CSS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 21:53