Setting a fixed height
with scrollbars when necessary
PVII is the leader in creative extensions for Dreamweaver.
This technique will show you how to:
Assign a height to your panels and have them spawn vertical scrollbars when necessary.
Edit your panel contant CSS rule so that it looks like this:
.p7EPM04 .p7epm_content {
padding: 12px 24px;
line-height: 1.6em;
color: #000000;
background-color: #FFFFFF;
border-top: 6px solid #000000;
border-right: 1px solid #000000;
border-left: 1px solid #000000;
height: 200px;
overflow: auto;
}
Remember, the "04" in .p7EPM04 will vary according to the style theme you have chosen so make sure you adjust the above rule's selector name to match your theme.
End
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque congue tristique eros. Nulla facilisi. Quisque sem mauris, ullamcorper ac, gravida id, mattis id, sapien. Nullam adipiscing enim dapibus felis. Fusce a nisi in odio pulvinar fringilla. Nunc blandit interdum metus. Duis leo nunc, sollicitudin ut, fermentum congue, pharetra eu, massa. Suspendisse potenti. Morbi commodo mauris. Ut at pede. Ut id nisi. Donec scelerisque urna quis ligula. Praesent est. Vestibulum scelerisque. Curabitur quam. Fusce rhoncus pellentesque ipsum. Aenean venenatis metus ac quam. Maecenas lacus lacus, sagittis vitae, congue at, euismod eu, urna. Maecenas vitae purus.
End
