So this worked for me .itRow { display: table-row; } #rowId:nth-child(even) { background-color:#8d8b8c; }
<div id="rowId" class="itRow"></div> If you have a neater way to do this, due tell me. But like I said thank you all for great suggestions :D -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-have-every-second-value-in-the-t-loop-different-tp5714278p5714285.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org