* Thus wrote Justin Patrin:
> Yo....:-/
> 
> Hmmm, this must be PHP5 as in PHP4 parameters can't be by ref and have
> a default value.

yes, that is php5 specific.

> 
> echo '<style>
> .row1 {
>   background-color: #c0c0c0;
> }
> .row2 {
>   backgorund-color: #808080;
> }
> </style>

I can't wait till 

tr:nth-child(odd)  { background-color: #c0c0c0; }
tr:nth-child(even) { background-color: #808080; }

become standard :)

http://www.w3.org/TR/2001/CR-css3-selectors-20011113/#nth-child-pseudo

Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

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

Reply via email to