abspos-012.xht (1136B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html lang="en" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: position: absolute; top: auto; test (assumed initial values)</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="reviewer" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/> 7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/absolute/015.html" type="text/html"/> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#comp-abspos"/> 9 <link rel="match" href="abspos-011-ref.xht" /> 10 11 <meta name="flags" content="may"/> 12 <style type="text/css"> 13 body {margin: 8px;} 14 div { position: relative; } 15 p { position: absolute; font: bold 32px/1 monospace; } 16 /* was font: bold 2em monospace; */ 17 </style> 18 </head> 19 <body> 20 <div> 21 <p>FAIL </p> 22 <p># P </p> 23 <p> ## A </p> 24 <p> # SS</p> 25 </div> 26 27 28 </body> 29 </html>