CSS
하단 풋터고정
라크젠
2012. 6. 7. 13:13
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>NEW</title>
<style type="text/css">
* {
margin: 0;
}
html,body {
height:100%;
}
.wrapper {
min-height:100%;
height: auto !important;
height: 100%;
margin: 0 auto -4em;
}
.footer {
height: 4em;
background:red;
}
</style>
</head>
<body>
<div class="wrapper">
<p>Your website content here.</p>
</div>
<div class="footer">
<p>Copyright (c) 2011</p>
</div>
</body>
</html>