"Chris Leonard" <> wrote:
> I'm converting my site and trying to make it all w3c compliant,
Why? It's generally useful to follow W3C recommendations, with due critical
considerations, but seldom productive to just convert a site in order to
comply with them. If you are _redesigning_ a site, then it's a different
issue, but then it's mostly not conversion but... redesign.
But why don't you post the URL?
> Here is the old code:
>
> <font size="10">One</font>
> <font size="20">Two</font>
> <font size="30">Three</font>
What could possibly be the reason for _that_? Is this a real example? If
not, why not?
The size attribute of <font> has a defined meaning only when its value is
an unsigned integer from 1 to 7 or a signed integer which yields such an
integer when added to the current base font size value. So those tags have
no defined meaning.
If you just want the font size to increase, for some odd reason, then you
simply set the font-size property in CSS. How you do that really depends on
how big they should be, and this depends on the purpose and context.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring:
http://www.cs.tut.fi/~jkorpela/www.html