blob: eacbcad90015d7140333228f26023ecb673b666a [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>CSS Test: Replaced inline elements with % widths</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/replaced/001.html" type="text/html">
<link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced-width">
<style type="text/css">
div { width: 600px: height: 100px; background: red; }
img { width: 100%; height: 100px; vertical-align: bottom; }
</style>
</head>
<body>
<p>There should be no red below.</p>
<div>
<p><img src="resources/swatch-green.png" alt="Image support required for this test"></p>
</div>
</body>
</html>