Alternate Colors in Table in a Database Activity In order to create a table with alternating row colors in a database activity: The following code goes into the javascript template: function highlightRows() {var myTables=document.getElementsByTagName('table');var myRows = [];for (var i=0;ihighlightRows(); Finally modify the css definitions in the css template to: table.d0 td { background-color: #FFFFFF; color: Black;}table.d1 td { background-color: #F5F5DC; color: Black;} Color refers to the text color.