I need to adjust the width of a select HTML box without using css, is there a way? I tried size but then it's adjusting the height, and width does nothing? Is there another way?
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a way to play audio on a mobile browser w
- HTML form is not sending $_POST values
- implementing html5 drag and drop photos with knock
-
Why does the box-shadow property not apply to a
There is no way to do it in pure HTML as per http://www.w3.org/TR/html401/interact/forms.html#h-17.6. You can set it using the style element, though which is kind of without css in that it is inline.
Does that not work?
If u using jquery, Maths Physics Chemistry
This is my select html code. So u have to add another div which contains jquery class name including your class name and apply height and width in your class.
here selBox is my class name and ui-select is jquery class name.
Add an empty option with enough spaces in it ...