View Full Version : Help with CSS
:Liam
19-07-2007, 07:06 PM
Right basically, I want to make a navigation bar that is fixed to the bottom so that its above all the content, for instance when you scroll it stays at the bottom with the content ect. moving behind it. ill try and find an example.
Aflux
19-07-2007, 07:16 PM
position: fixed;
:Liam
20-07-2007, 02:52 PM
position: fixed;
I know that, Im just saying how do I align it to the bottom and so thgat when someone scrolls down it moves down the page to.
Mr Macro
20-07-2007, 04:08 PM
JavaScript I think, try DynamicDrive ?
Eric30
20-07-2007, 05:47 PM
Ive just written this quickly, works in FireFox (Not tested in IE or anything else)
<style type="text/css">
#navfoot{
position:fixed;
background-color:#CCCCCC;
height:30px;
width:100%;
bottom:0;
}
</style>
<div id="navfoot">Links: </div>
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.