![]() ![]() |
| jay100 |
Dec 21 2009, 06:09 AM
Post
#1
|
|
Group: Members Posts: 1 Joined: 21-December 09 Member No.: 10,645 |
Hi,
I am building a website that is comprised of a header, two columns and a footer. The left column holds the navigation and the other column holds the main content of the site. I would like to be able to have the navigation of the left controlling the scrolling of the main content with anchors, which I can do, BUT I would like the navigation of the left to remain static and just have the main content scrolling up and down as the user clicks on the navigation, I can't figure out how to keep the left column and header static? Any help or tutorials would be greatly appreciated! Thanks. |
| Frederiek |
Dec 21 2009, 06:58 AM
Post
#2
|
|
Programming Fanatic ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 3,539 Joined: 23-August 06 From: Europe Member No.: 9 |
Maybe this will give you an idea: http://www.cssplay.co.uk/layouts/fixed.html.
Or search for "css: position fixed". -------------------- "The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French) "Leave scepticism to others and take action" from HOME by Goodplanet An inconvenient truth by Al Gore |
| Vash |
Dec 21 2009, 11:49 AM
Post
#3
|
|
Group: Members Posts: 8 Joined: 21-December 09 Member No.: 10,639 |
Maybe you could use frames!
|
| pandy |
Dec 21 2009, 09:48 PM
Post
#4
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 13,717 Joined: 9-August 06 Member No.: 6 |
Or put the content in a DIV with 'overflow: auto' which will create scrollbars if needed. Frederiek's suggestion is the best though, even if it won't work in IE6.
-------------------- |
| Frederiek |
Dec 22 2009, 06:54 AM
Post
#5
|
|
Programming Fanatic ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 3,539 Joined: 23-August 06 From: Europe Member No.: 9 |
QUOTE even if it won't work in IE6. Really? That's not what Stu suggests on that page. -------------------- "The earth does not belong to us. We belong to the earth."
from Vue du ciel (in French) "Leave scepticism to others and take action" from HOME by Goodplanet An inconvenient truth by Al Gore |
| pandy |
Dec 22 2009, 07:30 AM
Post
#6
|
|
Don't like donuts. Don't do MySpace. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 13,717 Joined: 9-August 06 Member No.: 6 |
There are lots of tricks to make it work, but out of the box 'position: fixed' doesn't work in IE6. That's what I meant.
-------------------- |
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 04:37 PM |