CSS for float-test2

  <script>
    html  { background-color: red; }  # 0,0,0,1
     html *  { padding 5px; }  # 0,0,0,1
     body  { background-color: gray; margin: 10px; border: 2px black solid; width: 450px; }  # 0,0,0,1
     #leftcol  { float: left; width: 201px; border: 1px dashed gray;}  # 0,1,0,0
     #rightcol  { float: right; width: 201px; border: 1px dashed blue;}  # 0,1,0,0
  </script>
  

Page Content

<div id="leftcol">
<p style="background-color: blue;">paragraph 1 and various other texts.
with more filler: blagh blagh blagh blah</p>
<p style="background-color: green;">paragraph 2 is 'display: block;' and various other texts.
with more filler: blagh blagh blagh blah</p>
</div>
<div id="rightcol">
<p style="background-color: yellow;">paragraph 3 and various other texts.
with more filler: blagh blagh blagh blah</p>
<p style="background-color: brown;">paragraph 4 is 'display: block;' and various other texts.
with more filler: blagh blagh blagh blah</p>
</div>
  

paragraph 1 and various other texts. with more filler: blagh blagh blagh blah

paragraph 2 is 'display: block;' and various other texts. with more filler: blagh blagh blagh blah

paragraph 3 and various other texts. with more filler: blagh blagh blagh blah

paragraph 4 is 'display: block;' and various other texts. with more filler: blagh blagh blagh blah