client/script: div class doesn't have an effect? in Developer Help
|
|
Code:
client/script = {"<STYLE> body {background: #000000; color: #99FFFF}; .o1 {color: #00df00}; .o2 {color: #ce0000}; .o3 {color: #ffcc1c}; </STYLE>"}
proc/fancyOutput(myText, myStyle) world << "Style is [myStyle]"
return "<div class=[myStyle]>[myText]</div>"
|
Problem description:
The text is returned, but no color change is evident when it's sent to the output window.
|