list-style-position-021.xht (1349B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: List-style-position set to 'outside'</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-list-style-position" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#list-style" /> 8 <meta name="assert" content="The 'list-style-position' property set to 'outside' places the marker outside of the list item principal block box." /> 9 <style type="text/css"> 10 div 11 { 12 border: 1px solid blue; 13 padding-left: 50px; 14 } 15 span 16 { 17 display: list-item; 18 list-style-position: outside; 19 } 20 </style> 21 </head> 22 <body> 23 <p>Test passes if the two lines of text in the blue box are directly lined up with each other and there is a single bullet to the left of the lines of text.</p> 24 <div> 25 <span> 26 Filler Text Filler Text Filler Text<br /> 27 Filler Text Filler Text Filler Text 28 </span> 29 </div> 30 </body> 31 </html>