div

Purpose

Div is one of the most lightweight container to group child component for, say, assigning CSS or making more sophisticated layout. It is the same as HTML DIV tag. Div is displayed as block that the following sibling won't be displayed in the same vertical position; as if there is a line break before and after it.

Examples

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

Description

Attributes

ZK Official Reference

Component Reference

Show div Component Reference

Java API

Show div Java API