XUL Programmer's Reference Manual
|
||||||||||
<text />
|
||||||||||
<text> is a general purpose text display widget. It can be used in places where you want to display text by itself, as you might have done previously with an HTML label, or where the text is a part of a composite XBL widget.
|
||||||||||
value | ||||||||||
Description
The value attribute specifies the text displayed for the text item.Syntax <text value="string" />Example Notes<text value="For more information, click Help" /> None. |
||||||||||
class | ||||||||||
Description
The class attribute specifies a particular class of text widget to use for display.Syntax <text class="string" />Example Notes<checkboxvalue="Honda"/> <checkbox value="Isuzu" /> A single class in the global skin, text class="label", adds extra padding around the text. Other than this there are no specialized classes for skinning this general purpose XUL widget. |
||||||||||
for | ||||||||||
Description
The for attribute indicates that the text element is to be used as part of a uniquely identified XXX.Syntax <text for="id of target element" />Example Notes<textfor="button1" value="View Source" /> <button for="button1" /> XXX |
||||||||||
Last updated: 3/31/00 Ian Oeschger |