Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
<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> 
Posted
Updated 21-Dec-11 19:35pm
v2
Comments
thatraja 22-Dec-11 1:04am    
Show HTML codde

FireFox and Chrome both have minimum font size options.
 
Share this answer
 
Comments
patilvaibhavrao 22-Dec-11 5:05am    
can u please explain with example (i need syntax )
Graham Breach 22-Dec-11 5:21am    
Go to your FireFox options, under "Content" tab, "Fonts & Colours" section, "Advanced..." button - there is a minimum font size option. If that is set, try changing it to "none" and see if your CSS works then.
there could be version problem
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900