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

Setting width using a css problem

2 Answers 93 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Morten Bomholt
Top achievements
Rank 1
Morten Bomholt asked on 16 Mar 2009, 01:07 PM
I have a problem when trying to set the width of a radcombobox using a css

*+html .RadComboBox_Office2007
{
    width:100px;
}

Setting everything else like this for instance ' text-align:center; ' works fine, but the width seems to get calculated to 160px no matter what.

the width can be set manually, but with the amount of radcomboboxes i use, that is a no go.

Where ís the right place to put a width style in the radcombobox ? :)

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 17 Mar 2009, 05:12 AM
Hi Morten Bomholt,

Try the CSS below for setting the width of the RadComboBox.

CSS:
<style type="text/css"
.RadComboBox_Office2007 
      width:100px !important; 
</style> 

Thanks,
Shinu.
0
Morten Bomholt
Top achievements
Rank 1
answered on 17 Mar 2009, 07:28 AM
Howdy Shino

Thx for the fix. :)

I allways forget that one.
Tags
ComboBox
Asked by
Morten Bomholt
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Morten Bomholt
Top achievements
Rank 1
Share this question
or