The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Controlling columns with anchors
jay100
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Dec 21 2009, 06:58 AM
Post #2


Programming Fanatic
********

Group: Members
Posts: 5,146
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".
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Vash
post 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!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 21 2009, 09:48 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Frederiek
post Dec 22 2009, 06:54 AM
Post #5


Programming Fanatic
********

Group: Members
Posts: 5,146
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 22 2009, 07:30 AM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 02:33 AM