데블스캠프2009/월요일/연습문제/HTML-CSS/박준호 (rev. 1.2)
데블스캠프2009/월요일/연습문제/HTML-CSS/박준호 ¶
<html>
<head>
<style type="text/css">
body {
background-image:url('paper.gif');
padding:0px;
margin:0px;
}
#title
{
width:99.4%;
border-width:5px;
border-style:solid;
}
#left
{
float:left;
width:28.4%;
height:200px;
border-width:3px;
border-style:solid;
}
#center
{
float:left;
width:38%;
height:200px;
border-width:3px;
border-style:solid;
}
#title:hover
{background:red;}
#left:hover
{background:red;}
#center:hover
{background:red;}
</style>
</head>
<body>
<div id="title"> <a herf="www.naver.com">hellow</a> </div>
<div id="left"> <a herf="www.naver.com"> hellow </a> </div>
<div id="center"> <a herf="www.naver.com"> hellow </a> </div>
<div id="left"> <a herf="www.naver.com"> hellow </a> </div>
<div id="title"> <a herf="www.naver.com"> hellow </a> </div>
</body>
</html>