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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 3:33 PM +0200 4/26/07, Tijnema ! wrote:
On 4/26/07, Stut <stuttle@xxxxxxxxx> wrote:
Tijnema ! wrote:
 On 4/26/07, Al <news@xxxxxxxxxxxxx> 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.

<p class="grey"> My Grey Text :) </p>

That's much simperer and it validates.

Cheers,

tedd


--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux