You are here: table td font size inheritance « HTML « IT news, forums, messages
table td font size inheritance

Posted by jeremy on 12/28/07 23:13

Generally, I want all html on my page to have a size of 10pt, so I
have a style set:

body, div, input, select, span, td, th, legend, textarea, a, a:hover
{
font-size: 10pt;
}

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.

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация