Divs

Syntax

Class

References css

Style

Defines box

Background Color

background:#fdf5e6;

Text Color

Text Alignment

text-align: right;

Width

width:48%;

Height

Note: the "height" Variable can lead to some data not being displayed when the browser window is resized.
height:100px;
height:22em;

Padding

padding:5px;

Border

border:1px solid #000000

Margin

margin-bottom:4px;

Alignment

float:left;
float:right;
When ever you use a DIV with the variable: "Float" then that variable must be Cleared at the end of your code.
There are two ways that you can do this, and the only way to find which works best in your page is to try it.

1. ~~~~
2. [[div style="clear:right;height:1px;"]]

http://handbook.wikidot.com/en:multi-colums

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License