Developer reference The XUL Components Components Div

From Documentation

Jump to: navigation, search

Contents

Div

The same as HTML DIV tag.

An extension. It has the same effect as <h:div xmlns:h="http://www.w3.org/1999/xhtml">. Note: a Window without title and caption has the same visual effect as Div, but Div doesn't implement IdSpace. In other words, Div won't affect the uniqueness of identifiers.

Image:Div.png

 <div align="left" width="300px">
     <doublebox />
 </div>
 <div align="right" width="300px">
     <doublebox />
 </div>

Class Name

org.zkoss.zul.Div 

Supported Child Components

*All

Supported Events

*NONE

Attributes

Property
Description
Data Type
Values
align
The alignment

Values: one of left, center, right, ustify.

String
<null>
Description: use browser default

Methods

Name
Description
Return Data Type
getOuterAttrs()
String

Inherited From

Inherited From
[#XulElement org.zkoss.zul.impl.XulElement]
[#HtmlBasedComponent org.zkoss.zk.ui.HtmlBasedComponent] </tt>
[#AbstractComponent org.zkoss.zk.ui.AbstractComponent ]