Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q102 What is span?

irt.org | Knowledge Base | DHTML | Q102 [ previous next ]

Q102 What is span?

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";

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.