I'm making a fluid width website, and on one of my pages I have a fixed sidebar. Right now it works fine as I only have two links on it; The sidebar isn't very tall. The layout goes like this:
Header
Content with Sidebar
Footer
The sidebar is positioned fairly far down because of the header, and if it gets too tall it will overflow into the footer. I want it to start and being 'fixed' once it reaches certain heights on the screen
In other words:
- Relative until scroll down
- Fixed until reach footer
- Relative once footer is reached