Forum Moderators: phranque

Message Too Old, No Replies

CSS Font Sizes

Just a quickie

         

chris_f

2:42 pm on Aug 27, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Folks,

I've hit a small hitch. I'm moving a site over to css. At current they only use two text sizes in their site and the only font is arial. The problem is converting the fonts to css and keeping the sizes. The are two ways I can see around my problem.

Either
1. I need a way of specifying the web font size in css (you know, the way we did it in the font tag before css. Numbers 1 - 6)

Or
2. The equivalent size in points (pt) to arial size 1 and arial size 2.

Any help is greatly appreciated.

Chris.

chris_f

2:48 pm on Aug 27, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Silly Question. I've got the answer. Guess I'm use to em ;).

Knowles

2:51 pm on Aug 27, 2002 (gmt 0)

10+ Year Member



Just an idea you could use font-size : xx-small; (x-small, small, medium, large, x-large, xx-large.)

Cascading Style Sheets, level 1 [w3.org]