RE: pt vs px for font sizes.

> You sometimes get multiplactive effects in tables: for example, a
> stylesheet
> like:
>
> td	{font-size: 80%;}
> p	{font-size: 80%;}
>
> applied to HTML reading:
>
> <table>
>  <tr>
>   <td>
>    This is table text.
>     <p>
>      This is paragraph text.
>     </p>
>   </td>
>  </tr>
> </table>
>
> Results in the "table" text being 80% of the normal size but the
> "paragraph"
> text being 64% (i.e. 80% x 80%).

That would be your "cascade", as in Cascading Style Sheets...

I would agree with most of the posts so far that using % or ems is the
prefered method.  I would also like to second the fact that your "normal"
text be left alone... in other words let the user set their own preference
and you can then apply supporting relations relative to the users default
size.  For example, an <h1> could then be set to 120% or 1.2ems of [user
default] or .breadcrumbs could be set to 70% or .85ems.

JF

Received on Tuesday, 10 September 2002 11:14:59 UTC