Skip navigation
Currently Being Moderated

Easy way to style every other row without pasting in code

Sep 2, 2010 1:09 PM



Is there an easy way to make a table that already has a "class" on the tr element? I made a class called "alt" and I style every other row with it, but right now I have to go to each row in the code and paste in class="alt" in the <tr> element.


There has GOT to be a better way. Can dreamweaver do this automatically? Or does anyone know of a script for it?


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points