Click here to Skip to main content
15,896,417 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hye..

Im using 4 combobox which is vertically positioned.

The problem i am facing now is:

1) Combo box list are not at the right position.

I've tried css below but somehow the second problem come out.

CSS
<style>
         /* AJAX Combo Box Styles - HACKS here for item list */
.CustomComboBoxStyle table
{
    margin-bottom:3px!important;
    top:0px!important;
  }

.CustomComboBoxStyle
{
   position:relative;
    line-height: 10px;
    }

.CustomComboBoxStyle ul
{
    position:absolute ! important;
    left:2px ! important;
    display: block;

    }

/* Chrome - default */
.CustomComboBoxStyle ul
{
    top:2px ! important;
}
/* Firefox */
@-moz-document url-prefix() {
        .CustomComboBoxStyle ul {
        top:22px ! important;
    }
}
/* IE 8 + 9 */
.CustomComboBoxStyle ul
{
    top:15px \0/ !important;
}


        </style>


2) When implementing the css above, the position of combobox list is perfectly position.
BUT, the list will hide behind the combobox below it.

Question:

How can I change the css style to solve these 2 problems?


Thanks.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900