Click to See Complete Forum and Search --> : font size question


stvchez
03-16-2007, 03:04 AM
I have a number of font tags in my document such as this:
<font size=+1>
<font size=-1>
<font size=+2>

I would like to convert these tags to css and wonder if there is a standard conversion for this as a css tag, ie: font-size:+2; (that wouldn't work, but shows what I'm getting at)

thanks

drhowarddrfine
03-16-2007, 05:49 AM
Font size property. (http://www.w3.org/TR/CSS21/fonts.html#propdef-font-size)

ray326
03-16-2007, 10:02 AM
Try percentages for a relative size translation; maybe 10% per unit.

<font size="+2"> --> font-size: 120%
<font size="-1"> --> font-size: 90%