text-indent-tab-positions-001-ref.html (604B)
1 <!DOCTYPE html> 2 <meta charset=utf-8> 3 <title>CSS Text reference file</title> 4 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"/> 5 <style> 6 p { font-family: monospace; white-space: pre; tab-size: 8ch; 7 width: 40ch; margin: 1em 8ch; border: 1px solid silver; } 8 </style> 9 The tab-stop positions should be the same in all three blocks below; 10 only the ‘a’ characters affected by text-indent should be unaligned. 11 <p>a	b	c<br>d	e	f</p> 12 <p> a	b	c<br>d	e	f</p> 13 <p><span style="margin-left:-3ch;">a </span>a'	b	c<br>d	e	f</p>