1
<!doctype html>
2
<title>Example</title>
3
<style>
4
div {
5
  padding: 20px;
6
  width: 100px;
7
  border: 5px solid limegreen;
8
  background: gold;
9
  }
10
div.float-left { 
11
  float: left;
12
  }
13
div.float-right { 
14
  float: right;
15
  }
16
</style>
17
<div class="float-left">Float Left</div>
18
<div class="float-left">Float Left</div>
19
<div>No float</div>
20
<div class="float-right">Float Right</div>
21
<div>No float</div>