Previous Message
Next Message

Re: [css-d] Builder.com > didn't someone just mention students

Sent by Eric A. Meyer on 20 April 2002 11:11


At 10:40 -0400 4/20/02, Timothy J. Luoma wrote:

>"Font sizes are too small" was my second thought.  "I wonder if they are
>still using <font size=-1>"
>
>Well, no, they aren't still using that exactly.  Check this out:
>
>	<font class="contentLinkBold2">
>
>That's right folks, they're using a FONT tag along with CSS.  Does this
>make sense to ANYONE?

    Actually, in some situations it can make a great deal of sense 
(although I'm not saying whether c|net's use of it does or doesn't). 
Let's say you need to support browsers back through the 3.x era, as 
many institutions and universities must do.  Let's further assume 
that you've been told a certain bit of text MUST be red.  You could 
accomplish this like so:

    <font color="red" class="urgent">

Then in your CSS you can pick a shade of red you like better, or put 
a border around the text, or throw in a yellow background, or what 
have you.  The non-CSS browsers get the red text, and more recent 
browsers get a better-styled bit of text.
    It will prevent you from moving to Strict HTML or XHTML, of 
course, but it can have practical payoffs in situations that demand 
it.

--
Eric A. Meyer (http://www.meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://www.mako4css.com/)
Previous Message
Next Message

Message thread: