Selecting odd and even rows in a table using CSS3
Fast trick to style a table using CSS3 selectors to set the odd and even rows style: [sourcecode language="css" wraplines="false"] table > tr:nth-child(even) {background: #ccc;} table > tr:nth-child(odd) {background: #fff;} [/sourcecode] So instead of having this: text more and more texttext more and more textmore and more text more and more texttext more and more textmore and more text more and more texttext more and more textmore and more text more and more texttext more and more textmore and more text more and more texttext more and more textmore and more text more and more texttext more and more textmore and more text more and more texttext more and more textmore and more We will have this: text more and more texttext more and more textmore and more text more…