I am able to incorporate CSS into the HTML, like this:
Code:
<tr><td style="background-color:#FFFF00;">test</td></tr>
How can I incorporate CSS into javascript?
Code:
document.writeln("<tr><td style="background-color:#FFFF00;">" + "test" + "</td></tr>");
The javascript code doesn't work or this is it even possible?

Thanks