|  | Posted by Michael Fesser on 12/29/07 00:39 
..oO(jeremy)
 >Generally, I want all html on my page to have a size of 10pt, so I
 >have a style set:
 
 You don't want to use pt on a web page. Use em or %.
 
 >body, div, input, select, span, td, th, legend, textarea, a, a:hover
 >{
 >	font-size: 10pt;
 >}
 
 body {
 font-size: ...
 }
 
 is enough on a properly built site.
 
 >I use this because I've found (at least with IE which I must support)
 >that not all elements inherit the font size so I set the size
 >explicitely explicitly.  This worked well until I needed a table in my
 >page with 8pt text in the cells.
 
 Make sure your pages are rendered in standards mode, not in quirks mode.
 
 >I set the size in the style of the table and nothing worked.  is there
 >any way to get this to work by setting the table style, and not the
 >individual cells?  I find it strange that the cell font size doesn't
 >inherit from the table style and instead uses the global style.
 
 It's a known IE bug in quirks mode.
 
 Micha
  Navigation: [Reply to this message] |