attinasi%netscape.com 30c0aaac9d New table layout regression test. Not part of build
git-svn-id: svn://10.0.0.236/trunk@102416 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 18:18:10 +00:00

36 lines
924 B
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>percentage heights</title>
<style>
body { margin: 2em; }
div {margin: 2em; }
</style>
</head>
<body>
<p style="display:none;">percentage height images in DIV with no height (red)</p>
<div style="border: 1px solid green;">
<div style="border: 1px solid red;">
<img height="100%" width="100%" src="../images/raptor.jpg">
</div>
</div>
<p>percentage height images in DIV with no height (red) in a DIV with no height (green)</p>
<div style="border: 3px dotted green;">
<div style="border: 1px solid red;">
<img height="100%" src="../images/raptor.jpg">
</div>
</div>
<p>percentage height image in table cell (red), in a DIV with no height (green)</p>
<div>
<table style="border: 1px solid red;" height="100%">
<tr>
<td style="border: 1px solid red;"><img src="../images/raptor.jpg"></td>
</tr>
</table>
</div>
</body>
</html>