div - Division

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

Category

Container Controls

Syntax

<xp:div attributes>content</xp:div>

Usage

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

Examples

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>
<xp:div style="font-weight:bold">
	Night phone => 
	<xp:inputText id="inputText3" value="#{document1.phonenight}"></xp:inputText>
</xp:div>