Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BuddyPress 1.2.5 tickets are cleared out


Hugo Ashmore
Participant

@hnla

One last thing to consider with the two approaches to zebra striping:

With the decedent selector approach you rely on the correct markup being written; with an app such as WP or BP this has a drawback due to people being able to write less well structured markup in a plugin and perhaps omitting such elements as tbody (surprising how few can actually construct tables with all the full set of elements and attributes)

The tr:nth-child approach has the slight benefit that it doesn’t look to the markup stucture for necessary parents or ancestors, simply working on an element that must exist.

Skip to toolbar