Click to See Complete Forum and Search --> : Font size in % of a table


SugarGirl
06-01-2003, 01:31 PM
My designed my webpage using tables and CSS. It looks good at 800*600 but when I change the resolution to 1024*800 or 1280*1024 the fonts are very small. What can I do?

http://members.cox.net/businessmarketers/

SugarGirl
06-01-2003, 01:33 PM
Can I make the font size take up a percentage of the <TD> of the table it is in, like the font size is 80% of the td size?

AdamGundry
06-01-2003, 03:10 PM
You can use absolute sizes, one of the following words (see http://www.w3.org/TR/CSS2/fonts.html#propdef-font-size):

[ xx-small | x-small | small | medium | large | x-large | xx-large ]

You can set percentage font sizes, but that is relative to the parent's font size not the containing block. You could also try em units.

Adam