Re: Text Color

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

 



On Fri, Feb 29, 2008 at 10:29 AM, Andrew Ballard <aballard@xxxxxxxxx> wrote:
> On Fri, Feb 29, 2008 at 10:21 AM, Jason Pruim <japruim@xxxxxxxxxx> wrote:
>  >  <style>
>  >         .red {
>  >         color: red;
>  >         }
>  >  </style>
>
>  Let's just get all purist and go back to the class="highlight" so we
>  don't find ourselves a year later with a stylesheet that includes
>
>  .red {
>     color: green;
>  }

    Andrew makes a good point, Jason.  Despite the fact that it's just
a reference, it's easier to make a general reference to "highlight"
that can later be changed to weird colors like shale, aquamarine,
coffee, and taupe, than to have a style called "red" and have a future
designer look at the source and say, "damn, that Jason Pruim guy
doesn't know his .red from a #804000 in the ground.

>  :-) OK, so it's Friday.

    Indeed it is.  ;-P

    TFGIF and Happy Leap Day!

-- 
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

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