2008-06-06 09:26:58 -07:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
2010-01-27 15:46:48 -08:00
|
|
|
<title>CSS 2.1 Test Suite: vertical-align (on an inline-block) (reference)</title>
|
2008-06-06 09:26:58 -07:00
|
|
|
<link rel="author" title="L. David Baron" href="http://dbaron.org/" />
|
|
|
|
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
|
|
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth" />
|
|
|
|
<meta name="flags" content="" />
|
|
|
|
<meta http-equiv="Content-Style-Type" content="text/css" />
|
|
|
|
<style type="text/css"><![CDATA[
|
|
|
|
|
|
|
|
body { width: 500px; height: 500px; margin: 0; position: relative; }
|
|
|
|
body > div {
|
|
|
|
position: absolute;
|
|
|
|
height: 50px; width: 40px;
|
|
|
|
top: 100px; left: 0;
|
|
|
|
background: green;
|
|
|
|
}
|
|
|
|
|
|
|
|
]]></style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div></div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|