Re: Text Color
| From: | Daniel Brown | Date: | Fri, 29 Feb 2008 15:44:47 +0000 |
| Subject: | Re: Text Color | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270739@lists.php.net to get a copy of this message | ||
On Fri, Feb 29, 2008 at 10:29 AM, Andrew Ballard <aballard@gmail.com> wrote:
> On Fri, Feb 29, 2008 at 10:21 AM, Jason Pruim <japruim@raoset.com> 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); } ?>