CSS for display-test1

  <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
     p  { display: inline; width: 200px; }  # 0,0,0,1
  </script>
  

Page Content

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

  

display: inline;

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

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

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

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