CSS Examples: float

Examples

This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.

This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.

This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.

Styles Used

p.rside {
	border: 1px dotted black;
	float: right;
	width: 10em;
	padding: 0.25em;
	margin: 1em 1em 1em;
}
p.lside {
	border: 1px dotted black;
	float: left;
	width: 10em;
	padding: 0.25em;
	margin: 0 1em 1em;
}