change-list-style-position-003-ref.html (300B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Lists: test the change of list-style-position</title> 4 <style> 5 div { 6 border: 5px solid orange; 7 display: list-item; 8 list-style-position: inside; 9 margin-left: 40px; 10 } 11 div > div { 12 list-style-type: decimal; 13 } 14 </style> 15 <div><div>text</div></div>