I have a table that uses tablesorter and zebra striping for the table rows. I would like to add zebra striping to just one of the table COLUMNS to give it a little emphasis. like this:

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you know the column index of the one you’d like to stripe, you can do it in CSS only, using :nth-of-type selectors like so:
tr:nth-of-type(even) td:nth-of-type(3) { background: rgba(0,0,0,0.1); }(Where
3is being used a placeholder for your target column index)Another option would be to put a class on the header (or first td) of the column you want to stripe, and then use JS to stripe the other tds in the same column:
The class is not necessary as obviously you can just put the column index you want as with the pure CSS approach, but it’s better for clarity of code.
demo here: http://jsbin.com/axutal/2/edit