Itβs bad practice to use inline style. Here is the correct way to do this according to Uniform docs:
If you want to specify the size of the select element and then wrap it evenly accordingly, there will be some difficulty. The size of the item must be detected, and then the uniform will be resized. To do this, you are invited to make one of these solutions if you have problems.
So, using the second option, in your css file do:
#parent_span select {width:630px;)
The 630px trick is used to create a wrapper around a Uniform div, and then a second kick of CSS code, as a result of which the select tag occupies 100% of it.
Yoni baciu
source share