<!doctype html>
<title>Example</title>
<style>
div {
padding: 20px;
width: 100px;
border: 5px solid limegreen;
background: gold;
}
div.float-left {
float: left;
div.float-right {
float: right;
</style>
<div class="float-left">Float Left</div>
<div>No float</div>
<div class="float-right">Float Right</div>