This is a migrated thread and some comments may be shown as answers.

Set Different widths for different drop downs on the same screen

1 Answer 61 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Diljeet
Top achievements
Rank 1
Diljeet asked on 31 Jul 2013, 06:29 AM
I need to Set 3 drop downs with different widths, they all have common css, how do we go about doing this?? Kind of urgent any help will be much appreciated.

1 Answer, 1 is accepted

Sort by
0
Accepted
Diljeet
Top achievements
Rank 1
answered on 31 Jul 2013, 06:51 AM
Issue resolved with this workaround, implemented the copies of the css #ddt refers to the div in which drop down is placed. Not perfect solution but a good one in any case. 

#ddt .k-dropdown-wrap  {
        border-radius: 0px !important;
        height: 30px !important;
        width:390px !important;
        margin:0px 0 0px 5px!important;
       
    }
 #ddl .k-dropdown-wrap  {
        border-radius: 0px !important;
        height: 30px !important;
        width:390px !important;
        margin:0px 0 0px 5px!important;
       
    }
Tags
DropDownList
Asked by
Diljeet
Top achievements
Rank 1
Answers by
Diljeet
Top achievements
Rank 1
Share this question
or