CSS Question

  • Thread starter Thread starter dee
  • Start date Start date
D

dee

Hi

I have the following in my styles.css:

BODY
{
...
font-size: .8em;
...
}

Why doesn't this reduce the text size in my <table> <tr> <td>?

Is there a global .css that IE uses for defaults?

Thanks.
Dee
 
dee said:
Hi

I have the following in my styles.css:

BODY
{
...
font-size: .8em;
...
}

Why doesn't this reduce the text size in my <table> <tr> <td>?

Is there a global .css that IE uses for defaults?

Thanks.
Dee

That is because the TABLE element has it's own selector, if you want
everything in the BODY element to be inherited in the TABLE element, use the
following:

BODY, TABLE
{
...
font-size: .8em;
...
}


HTH,
Mythran
 
Thanks Mythran

Mythran said:
That is because the TABLE element has it's own selector, if you want
everything in the BODY element to be inherited in the TABLE element, use
the following:

BODY, TABLE
{
...
font-size: .8em;
...
}


HTH,
Mythran
 
Back
Top