Re: Re: everything printed suddenly has blue text, as if were a link

From: Date: Thu, 26 Apr 2007 18:01:39 +0000
Subject: Re: Re: everything printed suddenly has blue text, as if were a link
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-253887@lists.php.net to get a copy of this message
On Thu, 2007-04-26 at 13:19 -0400, tedd wrote: > At 3:33 PM +0200 4/26/07, Tijnema ! wrote: > >On 4/26/07, Stut <stuttle@gmail.com> wrote: > >>Tijnema ! wrote: > >>> On 4/26/07, Al <news@ridersite.org> wrote: > >>>> <font..> is depreciated and shouldn't be used anyhow. Use styles > >>>> instead. > >>> > >>> I use combination of both :) > >> > <style type="text/css"> > >>> font.grey { color: grey; } > >>> </style> > >> > <font class="grey"> My Grey Text :) </font> > >> > >>If you don't mind me saying so, that's daft. You should be using <span> > >>tags here, not the deprecated <font> tags. > >> > >>-Stut > > > >Both work fine, should i really care? > > > >Tijnema > > And you're the one who told me to switch my DOCTYPE to XHTML??? > > You go through all the trouble of using css and then you don't really > use it. Try this: > > .grey { color: grey; } <-- external, not embedded. Oh dear, that's terrible, everyone knows you should use dropped vertically aligned braces in CSS: .grey { color: grey; } > <p class="grey"> My Grey Text :) </p> That's disgusting... now what happens if you want to change the text to blue? You either have a class called grey that makes the text blue, or you have to change all the HTML where you used class="grey" which puts you squarely back into the realm of why the font tag was deprecated. > That's much simperer and it validates. Yeah... SIMPERER!!!! *giggle* Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#253887) next »