Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Odd and even table rows

by duff (Parson)
on Aug 08, 2007 at 13:41 UTC ( #631316=note: print w/replies, xml ) Need Help??


in reply to Odd and even table rows

Just as another way to do it ... if you know the browsers support it, you can use the "odd" and "even" selectors:

tr:nth-child(odd): ... tr:nth-child(even): ...
Yes, this probably isn't as useful today as it will be 5 years from now :(

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://631316]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2021-10-23 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (88 votes). Check out past polls.

    Notices?