I have small design question about
html.DropDownListFor()
How can I change width of html.DropDownListFor()
??
For example by css.
Thanks for answers
If you are using Bootstrap it sets the max width to 280px in site.css.
You probably don't want to change that so to override it for individual controls set:
new { style = "max-width:100%:width:350px" }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With