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

Posted by Neredbojias on 12/29/07 00:03

Well bust mah britches and call me cheeky, on Fri, 28 Dec 2007 23:13:04 GMT
jeremy scribed:

> 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.

Did you remove the "td" from the main (above) style list?

I can make a lot more guesses but without having some data to work with...

--
Neredbojias
Riches are their own reward.

 

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

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