Hi
I want dropdown values to be left aligned. Image /forums/uploadfile/f61a1a/04032023011149AM/DropDown.jpg also attached.
Code
Hour
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
Minute
00
15
30
45Thanks

Amit MohantyRank #112 · 20K reputationPosted Apr 3, 2023, 12:14 AM EDT
Add style="text-align:left;" to your
Code
Ramco RamcoRank #462 · 5.4K reputationPosted Apr 3, 2023, 12:38 AM EDT
Hi Amit
I tried this but not working -
Thanks
Tuhin PaulRank #7 · 71.9K reputationPosted Apr 3, 2023, 2:11 PM EDT
Apply the "form-control" class to your DropDownList controls as follows:
This will align the dropdown values of both DropDownList controls to the left.
Tuhin PaulRank #7 · 71.9K reputationPosted Apr 3, 2023, 2:12 PM EDT
You can also modify the CSS style for the DropDownList controls in order to align the dropdown values to the left.