in reply to Re: decorated string
in thread decorated string

You are obviously right, and many thanks for your comment;-) Yes, data is one thing, and how data get rendered is a totally seperated thing. This is why we have CSS, this is why people try to push XHTML, and this is why XML is a more reasonable way to describe data.

However in a chat room, you don't really control the style of a entire web page. Your sentences are simply small pieces of a long dialog being rendered as a web page. In this context, font is probably the easiest doable way.

But in general, I agree with you.

Replies are listed 'Best First'.
Re^3: decorated string
by Aristotle (Chancellor) on Nov 22, 2003 at 08:32 UTC
    What keeps you from changing the font tag to <span style="..."> ?

    Makeshifts last the longest.

Re: Re: Re: decorated string
by synistar (Pilgrim) on Nov 17, 2003 at 14:29 UTC

    It really depends on the DOCTYPE string that is set in your HTML pages. If your DOCTYPE is set to a version of HTML before 4 then you are ok. Versions of HTML after 3.2 deprecated the font tag (and a few other tags). And if you are using XHTML forget it. Any font tag is invalid in XHTML. In XHTML CSS is the only way to go.

    Here are lists of elements deprecated in html 4 and in xhtml.

    If you are not using a DOCTYPE then all bets are off. Its a crapshoot on how browsers will render your page.