PDA

View Full Version : Combo Box Viewer and Scroll bar?



tigress
04-12-2008, 09:30 PM
1) Script Title: Combo Box Viewer

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex17/comboviewer.htm
3) Describe problem:
I was wondering if I can add a scroll bar or scrollable content to the combo box viewer?

Thanks in advance!!:cool:

Nile
04-13-2008, 01:36 AM
Change:

<style type="text/css">
.dropcontent{
width: 300px;
height: 140px;
border: 1px solid black;
background-color: #FFECC6;
display:block;
}
</style>
To this:


<style type="text/css">
.dropcontent{
width: 300px;
height: 140px;
border: 1px solid black;
background-color: #FFECC6;
display:block;
overflow: auto;
}
</style>

tigress
04-13-2008, 04:19 AM
You totally rock - thank you SO much!! And oh btw, it looks great!