1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <title>Test case for list items flowing around floats
</title>
6 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8">
7 <meta http-equiv=
"Content-Style-Type" content=
"text/css">
8 <style type=
"text/css">
10 ul
, ol
, li
{ margin-top: 0; margin-bottom: 0; }
11 li
{ height: 2em; background: aqua
; color: black
; }
17 <div style=
"background: aqua; color: black; margin-left: 40px">
18 <div style=
"margin-left: -40px">
19 <div style=
"margin-left: 60px"><ol start=
"1"><li>one
</li></ol></div>
20 <div style=
"margin-left: 60px"><ol start=
"2"><li>two
</li></ol></div>
21 <ol start=
"3"><li>three
</li></ol>
22 <ol start=
"4"><li>four
</li></ol>
26 <div style=
"background: aqua; color: black; margin-left: 40px">
27 <div style=
"margin-left: -40px">
28 <div style=
"margin-left: 60px"><ul><li>one
</li></ul></div>
29 <div style=
"margin-left: 60px"><ul><li>two
</li></ul></div>
30 <ul><li>three
</li></ul>
31 <ul><li>four
</li></ul>