<div> defines a division or section in a document. The <div> tag can divide a document into separate and distinct parts. It can be used as a strict organizational tool and is not associated with it using any formatting.
Embedded component support
You can nest any other component.
Styles
The <div> component supports all styles in Common Styles.
Internet Properties
None
Event
The <div> component supports all events in Common Events.
Examples
<div>
<div class="box"></div>
</div>
.box {
border-width: 2px;
border-style: solid;
border-color: #BBB;
width: 250px;
height: 250px;
margin-top: 250px;
margin-left: 250px;
background-color: #EEE
}
Examples
Click here detailDiv.zip for the complete sample code.