CSS Question

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
 
M

Mythran

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
 

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

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top