geoffrey1211
asked on
Frameset Alternative for HTML with Scrollbars
I need to have 3 areas within one webpage - and I'm struggling to find a solution. As frames are not gonna be supported in HTML5, what alternatives do we have?
I suppose I could use partials and AJAX, but I do need the nice ability to scroll both vertically and horizontally for each of the 3 areas, a feature the a frame automatically gives.
Any ideas please?
I suppose I could use partials and AJAX, but I do need the nice ability to scroll both vertically and horizontally for each of the 3 areas, a feature the a frame automatically gives.
Any ideas please?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There's a feature in CSS that supports scrollbars:
overflow: scroll
Here's a a very straight-forwad example by the folks at Quackit (http://www.quackit.com/css/css_scrollbars.cfm).
overflow: scroll
Here's a a very straight-forwad example by the folks at Quackit (http://www.quackit.com/css/css_scrollbars.cfm).
<style>
.contentBox {
display:block;
border-width: 1px;
border-style: solid;
border-color: 000;
padding:5px;
margin-top:5px;
width:200px;
height:50px;
overflow:scroll
}
</style>
<div class="contentBox">
Why do I call them "CSS Scrollbars"? The <i>CSS Overflow</i>
property tells the browser what to do if the box's contents is larger
than the box itself. It behaves similar to inline frames and creates
scrollbars if required. That is why I call them CSS Scrollbars!
</div>
ASKER
i could use a bit more info on s
ASKER
document.getElementById('d
Are each <div> considered to be completely separate from other <div>s, except when I'm using the float property? Is it the z-index property to determine which one shows above another?
I haven't used CSS for > 10 years I'd be delighted to be shined upon some light. Thank you.