<style>
#lefty {
    float: left;
    background: red;
    width: 100px;
    height: 100px;
}
#righty {
    float: right;
    background: green;
    width: 50px;
    height: 50px;
}
#lefty2 {
    float: left;
    background: orange;
    width: 80px;
    height: 80px;
}
#righty2 {
    float: right;
    background: magenta;
    width: 30px;
    height: 30px;
}
#lefty3 {
    float: left;
    background: cyan;
    width: 40px;
    height: 40px;
}
#righty3 {
    float: right;
    background: silver;
    width: 2