4 <div id=
"float1" style=
"border: 2px solid red; height:100px">I should become a right-floating element.
</div>
5 This text should be on the left. The float should be to the right.
9 <div style=
"height:30px"></div>
12 <span id=
"float2" style=
"border:2px solid red; height:100px">I should become a left-floating element.
</span>
13 This text should be on the right. The float should be to the left.
17 document
.getElementById("float1").style
.cssFloat
= 'right';
18 document
.getElementById("float2").style
.cssFloat
= 'left';