How do I create a non-scrolling Sidebar?
There is an example at:
http://demo.themewarrior.com/?theme=picture-box
I am a rookie. Please make it simple, if that is possible. Thks
It looks to me that your using "FRAME SETS" ?
It shoulb be easy in this case, if you can find something that looks like this <frame src="page.html" name="PageFrame" scrolling="Yes" noresize="noresize" id="PageFrame" title="PageFrame" />
just change the scrolling="Yes" to scrolling="No"
The other place you can find to change this setting is in the properties at the bottom of your dreamweaver page
Gary
The frames evident at that link are being used to create a viewer for the various themes, but not to create the sidebar.
The non-scrolling sidebar is effectively created by position:fixed in the CSS in the following rule:
http://demo.themewarrior.com/picture-box/wp-content/themes/picture-box /style.css
font-size: 11px;
height: 100%;
left: 0;
padding-right: 30px;
position: fixed;
top: 0;
width: 230px;
z-index: 100;
}
John, I used the Dreamweaver "2 column fixed, left sidebar" Blank Page to create my page.
I then inserted the single line in the css to indicate "position:fixed"
The Sidebar now does not scroll. This is good.
That is the only change I made to your stock page.
But the "Content" section has now slid behind the Sidebar:
What do I do to solve this problem?
Thanks.
Jim
You can't float around postion:fixed elements.
You'll need to remove floats & add a margin-left:value to your content container.
See fixed positioning examples:
http://alt-web.com/DEMOS/CSS2-Sticky-Text.shtml
http://alt-web.com/DEMOS/CSS2-Sticky-Footer.shtml
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
North America
Europe, Middle East and Africa
Asia Pacific