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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top