How do I make the drop box wider (MRS)? HTML Notepad. Please Help #21366
-
<!DOCTYPE html> /* Style the tab */ /* Style the buttons inside the tab */ /* Change background color of buttons on hover */ /* Create an active/current tablink class */ } /* Style the tab content */ <p>Click on the buttons inside the tabbed menu:</p> <div class=“tab”> <div id=“Client Details” class=“tabcontent”> <!DOCTYPE html> </body> </body> <div id=“Notes” class=“tabcontent”> <script> </body> |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @youwann7! I’ve moved your post into the Programming Help and Discussion board as I think you’ll probably get better answers to your questions here. To answer your question, you should be able to use the width CSS attribute on #myList to change the width of the dropdown menu. However, every browser interprets the display styles for dropdown menus differently, so you might have to fiddle with the values and selectors. For more information, I personally recommend the CSS Tricks blog which has an article all about styling dropdown menus. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
just increase the width of your dropbox |
Beta Was this translation helpful? Give feedback.
Hi @youwann7!
I’ve moved your post into the Programming Help and Discussion board as I think you’ll probably get better answers to your questions here.
To answer your question, you should be able to use the width CSS attribute on #myList to change the width of the dropdown menu. However, every browser interprets the display styles for dropdown menus differently, so you might have to fiddle with the values and selectors. For more information, I personally recommend the CSS Tricks blog which has an article all about styling dropdown menus.
Hope this helps!