<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#separator {
 height: 20px;
 background-color: green;
 margin-bottom: 10px;
}
#float {
 float: right;
 height: 100px; width: 50px;
 margin-top: 10px;
 background-color: blue;
}
</style>
</head>
<body>
<div id="separator"></div>
<div id="float"></div>
</body>
</html>