|
Posted by Rob Waaijenberg on 12/29/07 00:03
jeremy schreef:
> 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.
If I understand correctly, you now have this:
body, div, input, select, span, td, th, legend, textarea, a, a:hover
{
font-size: 10pt;
}
table
{
font-size: 8pt;
)
Right?
--
Rob
Navigation:
[Reply to this message]
|