div - Division

Acts as a division or block of content in HTML. Contains other controls and text.


Container Controls


<xp:div attributes>content</xp:div>
Table 1. All properties
Category Properties
accessibility role, title
basics attrs, binding, dir, id, lang, loaded, rendered, rendererType
dojo dojoAttributes, dojoType
events onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup
styling disableTheme, style, styleClass, themeId


At run time, the content of the division appears on the page with any assigned properties.


These Div controls contain text and edit boxes with different styling.
<xp:div style="font-weight:bold;padding-bottom:20.0px">
	Day phone =>
	<xp:inputText id="inputText2" value="#{document1.phoneday}"></xp:inputText>
<xp:div style="font-weight:bold">
	Night phone => 
	<xp:inputText id="inputText3" value="#{document1.phonenight}"></xp:inputText>