On Mon, 2009-06-01 at 08:10 -0700, Raymond Irving wrote:
> Hello,
>     
> There are many different ways and techniques that we can use to add alternate 
> colors to table rows. Here's another solution that's very simple and straight 
> forward. For example:
> 
> $page['table tr:even']->css('background:#eee');
> 
> Check out the full example code at 
> http://raxanpdi.com/zebra-striped-table.html
> 
> 
> Best regards,
> __
> Raymond Irving
> Quickly build and maintain PHP Ajax applications
> Raxan PDI - http://raxanpdi.com
> 
> 
Doesn't work in the majority of browsers out there at the moment. Always
remember, just because you have the latest release of a browser, a lot
of people who just surf the web don't even know the difference and how
to upgrade. For striped tables, you're still better off using
server-side code to apply a class to every other row of the table. Pure
CSS solutions are not ready


Ash
www.ashleysheridan.co.uk


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

Reply via email to