Hello,

you should learn how to use the child selectors.

Read Chris Coyier article How nth-child 
Works<http://css-tricks.com/how-nth-child-works/>
.

Meanwhile, what you can do is the following:

Add the below to your css sheet

.table-every3 tbody tr:nth-child(3n+3) td,
.table-every3 tbody tr:nth-child(3n+3) th {
  background-color: #f9f9f9;
}

And in your table add the class table-every3.

Enjoy it.

Cheers,

JadH

On Tuesday, June 26, 2012 4:04:34 PM UTC+3, webLearner101 wrote:
>
> Hello. I was wondering how to create a table with bootstrap that calls 
> zebra strip to color every 3rd row (to clump 3 rows of data together) 
> opposed to the default every other row.
>
> Thank You
>

Reply via email to