Click to See Complete Forum and Search --> : converting to CSS


binkyboo
03-31-2004, 10:07 AM
I'm very VERY new to CSS. How would I convert this html code to CSS? I've tried a few methods but the text doesn't look quite right.

<font face="Franklin Gothic Book" size="2" color="#000000"><b>Change is Survival</b></font>

spufi
03-31-2004, 11:32 AM
Originally posted by binkyboo
I'm very VERY new to CSS. How would I convert this html code to CSS? I've tried a few methods but the text doesn't look quite right.

<font face="Franklin Gothic Book" size="2" color="#000000"><b>Change is Survival</b></font>

It may depend on what the text is actually used for because you could use a header tag if the text you are using is a header. Then it's a simple case of <h3>Change is Survival</h3> and then using CSS to style the <h3> tag. I just use <h3> as an example, if it's the sub title on a page, then I would use the <h2> tag instead. Anyway, I'm not sure how big a size two is, so here's just a sample of what it might be.

HTML:
<strong>Change is Survival</strong>

CSS:
strong { font-size:100%; font-family:"Franklin Gothic Book"; color:#000; }

coothead
03-31-2004, 11:45 AM
quote:

'Anyway, I'm not sure how big a size two is'

Size two equates to 0.8em .

c:D:Dthead