We would like to know how to place footer to bottom 0px.
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<style type="text/css">
#footer{<!-- ww w . j a v a 2s . c o m-->
position:fixed;
bottom:0px;
width:100%
background-color: #EEE;
}
</style>
</head>
<body>
<h1>Some Page</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<div id="footer">
© company name
</div>
</body>
</html>
The code above is rendered as follows: