![]() |
How do you "lock" the header to the top of the page?
Can anyone show me how to make the header stay "locked" at the top of the page?
I want the body of the page to scroll under the header with the header remaining at the top at all times. Thanks! |
Wrap your header in a float and use absolute positioning.
IE: at the top of your header Code:
<div style="whatever CSS that takes"> |
/me tags this for later.
Good idea. /me has no time to figure it out right now. |
I'll do it tonight for you guys on a standard vBulletin navbar :D short on time right now myself
|
Quote:
|
You'll need to do it with position: fixed;
There are a couple of issues with IE6, but I'll let FRDS come up with this for you since he offered. I really don't want to take the time to investigate that handicapped browser. |
Thanks for the help with this!
I'll be working on it soon... |
All times are GMT. The time now is 07:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|