<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>CSS Test: Reference Result</title> <link rel="author" title="WebKit" href="http://webkit.org/"> <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#floats"> <style type="text/css"> body { width: 400px; background: white} span { display: inline-block; vertical-align: top; width: 40px; background: black; } div { background: black; } </style> </head> <body> <p>There should be two black boxes below.</p> <div style="position: absolute; width: 40px; height: 40px; background: black;"></div> <div style="position: absolute; left: 58px; width: 40px; height: 40px; background: black;"></div> </body></html>