зеркало из https://github.com/mozilla/gecko-dev.git
28 строки
852 B
HTML
28 строки
852 B
HTML
<!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>
|
|
<title>CSS 2.1 Test Suite: vertical-align (on an inline-block) (reference)</title>
|
|
<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>
|