perhaps with an example...
Main Topics
Browse All TopicsDear experts,
Would you be able to advice how to create an HTML DIV that always appear in the bottom of the page, regardless scrolling? Just like the one in FaceBook or http://www.panic.com/goods
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html
<html>
<head>
<title>Div at bottom</title>
<style type="text/css">
.sa
{
background-color: maroon;
height: 150px;
text-align: center;
font-size:10px;
color:white;
font-family:Verdana;
padding-top: 10px;
width: 99%;
position:fixed;
left: 0px;
bottom: 0px;
}
</style>
<!--[if lte IE 6]>
<style type="text/css">
body {height:100%; overflow-y:auto;}
html {overflow-x:auto; overflow-y:hidden;}
* html .sa {position:absolute;}
</style>
<![endif]-->
</head>
<body >
<br><br><br><br><br><br><br><br><br><br><br><br><br
<br><br><br><br><br><br><br><br><br><br><br><br><br
<br><br><br><br><br><br><br><br><br><br><br><br><br
<br><br><br><br><br><br><br><br><br><br><br><br><br
<br><br><br><br><br><br><br><br>
<div class="sa">This will always be displayed!</div>
</body>
</html>
oops, sorry i forgot to include it in the code part :(
<!--[if lte IE 6]>
<style type="text/css">
body {height:100%; overflow-y:auto;}
html {overflow-x:auto; overflow-y:hidden;}
* html .sa {position:absolute;}
</style>
<![endif]-->
What you see is a hack for the IE 6 or lesser.
This code is not mine. So I would not take credit :)
Keith Bentrup : Author
If the browser is IE or below , the entire page's scroll is hidden and the scroll is given to the body. By doing this tweak, users will be forced to believe that the scroll is of html and when u scroll down, the div is still there.
you could see it here.
http://stackoverflow.
Business Accounts
Answer for Membership
by: christophermccannPosted on 2009-09-30 at 00:30:43ID: 25456267
You need to use fixed positioning i.e.
#div_id {
position:fixed;
bottom:0px;
}