Forum Moderators: open
<!DOCTYPE HTML>
<html lang="en">
<head><title></title>
<style>
.colhylite{
background-color:orange;
color:white;
}
</style>
</head>
<body>
<table>
<col class="colhylite" /><col style="color:white; background-color:orange;" /><col style="background-color:orange;" />
<tr><td>tdcontent1</td><td>tdcontent2</td><td style="color:white;">tdcontent3</td></tr>
<tr><td>tdcontent1</td><td>tdcontent2</td><td style="color:white;">tdcontent3</td></tr>
<tr><td>tdcontent1</td><td>tdcontent2</td><td style="color:white;">tdcontent3</td></tr>
<tr><td>tdcontent1</td><td>tdcontent2</td><td style="color:white;">tdcontent3</td></tr>
<tr><td>tdcontent1</td><td>tdcontent2</td><td style="color:white;">tdcontent3</td></tr>
</table>
</body>
</html> .css3striping tr:nth-child(odd) { background-color:#FFF; }
.css3striping tr:nth-child(even) { background-color:#E6EBE6; } <table class="css3striping"> document.getElementById(columnid).setAttribute("class","colhylite");
table.dashed td {
border-bottom: thin dashed #D1D1E2;
}
tableelement.setAttribute("class","dashed");
var slideshow = d.createElement("div");
slideshow.setAttribute("id","slideshow");
var preview = d.createElement("img");
preview.setAttribute("src","images/bookcovers.jpg");
preview.setAttribute("alt","building blocks of web design");
preview.setAttribute("id","preview");
HTMLElementObject.className=classname;
HTMLElementObject.id="nnn";
HTMLElementObject.src="dir/nnn.nnn";HTMLElementObject.alt="nnnn";