logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 05-12-2012, 06:35 AM   #1
FethrdWlf
FethrdWlf's Avatar
 
Join Date: Jan 2011
Location: Arizona
Posts: 146
Default Hide overflow, but still allow scroll?

I'm back... This time with a more understandable question On the newly formed portion of my blog, I have three fixed divs, and one div that continues to scroll. The left sidebar, the navigation bar, and the header are all fixed to the page.

My problem starts with the main text ("Lorem ipsum dolor..."). The page is set up to where the text will scroll, but the aforementioned three divs will not.

But, I'd like to set a fixed height for the #rightcontent div. The height and width then would act like a "viewport" for the text. The overflow is hidden, yet the page still scrolls.

Here's a visual of what I'm trying to explain...
FethrdWlf is offline   Reply With Quote
Old 05-12-2012, 02:35 PM   #2
johnMoss
johnMoss's Avatar
 
Join Date: Dec 2010
Location: Dallas
Posts: 867
Default

For the div in question simply set your overflow to "auto". This tells the browser to use scroll bars when required.
__________________
LinkedIn: jM
johnMoss is offline   Reply With Quote
Old 05-12-2012, 05:26 PM   #3
FethrdWlf
FethrdWlf's Avatar
 
Join Date: Jan 2011
Location: Arizona
Posts: 146
Default

Quote:
Originally Posted by johnMoss View Post
For the div in question simply set your overflow to "auto". This tells the browser to use scroll bars when required.
Would that add scroll bars to the div itself, or keep them outside on the far right of the screen? I'm looking to do the latter.

Last edited by FethrdWlf; 05-12-2012 at 05:37 PM.. Reason: Forgot a sentence
FethrdWlf is offline   Reply With Quote
Old 05-12-2012, 09:24 PM   #4
johnMoss
johnMoss's Avatar
 
Join Date: Dec 2010
Location: Dallas
Posts: 867
Default

just to the div
__________________
LinkedIn: jM
johnMoss is offline   Reply With Quote
Old 05-14-2012, 12:13 AM   #5
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

So overflow set to hidden, and a height on the DIV. Did you do this already?
domedia is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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 On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:52 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com