I have the following code:
<li>This is
<div class="item1">item1</div>
<div class="item3">item3</div>
<div class="item2">item2</div>
a test</li>
I would like to arrange the li as follows <li>This is a test | div item1 | div item2 | div item3 </li>
Is it possible to do that without using javascript? Only css? If not can you provide a sample in javascript?
Thanks