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]

 



On 4/26/07, tedd <tedd@xxxxxxxxxxxx> wrote:
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

I meant to say that every new page you write should be XHTML 1.0
Strict, not the pages you already have...
Just like i'm doing this now :)

Tijnema


--
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