HighDots Forums  

font-size to CSS

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss font-size to CSS in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jeff Thies
 
Posts: n/a

Default font-size to CSS - 08-13-2003 , 10:36 AM






I have a spec to make text different font-sizes, ie <font size="4">

Recommendations for em (or other) equivalents?

I'll need 3,4 and 5.

A quick Google search has left me blind here.

Cheers,
Jeff
(who has *never* used the font tag and won't start now)

Reply With Quote
  #2  
Old   
Steve Pugh
 
Posts: n/a

Default Re: font-size to CSS - 08-13-2003 , 10:52 AM






Jeff Thies <cyberjeff (AT) sprintmail (DOT) com> wrote:

Quote:
I have a spec to make text different font-sizes, ie <font size="4"

Recommendations for em (or other) equivalents?

I'll need 3,4 and 5.
Well <font size="3"> is the default so is the same as 100% or 1em or
just leaving everything alone and not specifying any value at all.

<font size="4"> will probably be the same as font-size: larger;
120% or 1.2em will also be close in most cases.

Note 'larger', not 'large'. MSIE has managed to make the small,
medium, large, etc keywords next to useless.

<font size="5"> will be about 150% or 1.5em.

This is a bit old but well worth reading:
http://style.cleverchimp.com/font_si...intervals.html

Steve



--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve (AT) pugh (DOT) net> <http://steve.pugh.net/>


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.