overflow属性における表示の違い




HTMLサンプルコード
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_Jis">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>Sample</title>
<style type="text/css">
<!--
div {width: 120px; heght: 60px }
div.test1 { overflow:visivle }
div.test2 { overflow:scroll }
div.test3 { overflow:hidden }
div.test4 { overflow:auto }
-->
</style>
</head>

<body>
<div class="test1"><img src="hana.png"></div>
<div class="test2"><img src="hana.png"></div>
<div class="test3"><img src="hana.png"></div>
<div class="test4"><img src="hana.png"></div>
</body>
</html>

BackPage