white-space-collapsing-003-ref.xht (1034B)
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 reference</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net"/> 7 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 8 <style type="text/css"> 9 .test { margin: 0.25em; border: 0.25em solid navy; padding: 0.1em; background: blue; color: yellow; text-decoration: underline; width: 7em; text-align: center; font: 2em Ahem, monospace; } 10 </style> 11 </head> 12 <body> 13 <p>The following lines should all look identical:</p> 14 <div class="test">XXXX</div> 15 <div class="test">XXXX</div> 16 <div class="test">XXXX</div> 17 <div class="test">XXXX</div> 18 <div class="test"><span>XXXX</span></div> 19 <div class="test"><span>XXXX</span></div> 20 <div class="test"><span>XXXX</span></div> 21 <div class="test"><span>XXXX</span></div> 22 </body> 23 </html>