Jump to content

Tables


mike1313

Recommended Posts

For my main layout I'm using

 

<style type="text/css">
BODY { font-family:sans-serif; font-size:85%; }
A:link { color:steelblue; }
A:visited { color:steelblue; }
A:hover { color:white; text-decoration:none; }
TABLE, TD {font-size:90%;}
</style>

 

So whenever I make a new table on a page it shrinks the text within the table even smaller. How could I go about fixing this?

Link to comment
Share on other sites

Everything on the page Inherit the font size from BODY, you are giving the body "font-size:85%", and a table within the body "font-size:90%" of the (now smaller) "font-size:85%"...

 

Dont define the font-size in percentage on the body, instead use px, and EM in the rest of the document.

 

 

As a fix, You could stop using percentages in the tables, and use EM instead.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.