You are here: irt.org | FAQ | DHTML | Q102 [ previous next ]
Its a new HTML tag supported by both Netscape Navigator 4 and Internet Explorer 4. It assists cascading style sheets, in that along with <DIV> it allows you to specify a portion of the output that can be referenced either by style sheets or the browsers object model.
You could use a style as:
<STYLE><!-- SPAN.idname { color:#123456; } //--></STYLE>
Or you can in Internet Explorer 4 change the color programmatically:
document.all[idname].color = "#123456";