davisphive
Geek Trainee
Ok, I have a design for a web site with a menu positioned on the left and a "main content area" to the right of the menu. I would like the content area to grow vertically only, but be in it's own "frame" (have scroll bars to move down through while the rest of the page remains motionless.) I've tried IFRAMEs and didn't really like them. Someone told me that I could do the same thing with DIVs and CSS.
I got the div looking the way I want but my problem is that the div scrolls horizontally as well as vertically. I'm using the overflow option. ' overflow: auto; '
I can re-type and position the text and content and that fixes the problem but isn't there a way to make your text automatically fit the container it's put in instead of the div changing itself to accomodate the text?
Also I have heard other developers criticize the scrolling content idea.
Is it foepaw? (don't know how to spell that word)
And if so, why?
My rational is:
I have quite a bit of content and wanted the menu and other links to remain where the viewer could get easy access to them.
I've never liked the target links that take you back up to the top of the page. I know of ways to make the menu drop down and follow the viewer as they scroll but think those types of menus to be annoying and a bit tacky. (just my opinion, don't wanna step on anyone's toes ;) )
Any help, advice...etc would be most welcome.
I got the div looking the way I want but my problem is that the div scrolls horizontally as well as vertically. I'm using the overflow option. ' overflow: auto; '
I can re-type and position the text and content and that fixes the problem but isn't there a way to make your text automatically fit the container it's put in instead of the div changing itself to accomodate the text?
Also I have heard other developers criticize the scrolling content idea.
Is it foepaw? (don't know how to spell that word)
And if so, why?
My rational is:
I have quite a bit of content and wanted the menu and other links to remain where the viewer could get easy access to them.
I've never liked the target links that take you back up to the top of the page. I know of ways to make the menu drop down and follow the viewer as they scroll but think those types of menus to be annoying and a bit tacky. (just my opinion, don't wanna step on anyone's toes ;) )
Any help, advice...etc would be most welcome.