Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old August 29th, 2008, 06:34 AM
pradeepjain's Avatar
Familiar Sight
 
Join Date: Jul 2007
Location: India
Age: 24
Posts: 244
Default scrolling

Hii guys,
I am using a 3 column structure say left right and content area in center between them.Now i want a scroll bar which on scrolling the content in the content area must get scrolled how to do this.


Thanks,
Pradeep
Reply
  #2  
Old August 29th, 2008, 11:26 AM
Dormilich's Avatar
Expert
 
Join Date: Aug 2008
Location: Leipzig, Germany
Age: 31
Posts: 639
Default

do you want to scroll horizontally or vertically?
I would not recommend horizontal scrolling because I (as an user) find it annoying.
the latter I would leave to the browser (why putting scrollbars when there's nothing to scroll).

If you want the left and right column stay where they are, there's a nice CSS property called "position: fixed" (though it is not working in IE, there you have to use javascript to hold them in place)
Reply
  #3  
Old August 29th, 2008, 08:32 PM
David Laakso's Avatar
Expert
 
Join Date: Aug 2008
Location: US
Posts: 302
Default

Assuming you mean you want a "scroll-box" to vertically scroll the content in the center column named content:

Expand|Select|Wrap|Line Numbers
  1. #content {
  2. height: assign a height; overflow: scroll;
  3. }
  4.  
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles