Jump to content

Increase spacing between dropdown list select options?


Recommended Posts

From https://stackoverflow.com/questions/17186777/adding-padding-to-select-options:

Quote

Styling select tag is very much limited since there are restrictions that depends from browser to browser e.g. like padding and even margin of option tag works in the Mozilla Firefox while it doesn't works with Google Chrome.

If it is very much necessary in you website to style the option tag then the suggestion is to use some jQuery plugin.

Other resources:

https://stackoverflow.com/questions/5887133/how-to-style-a-select-tags-option-element

https://stackoverflow.com/questions/12301729/styling-for-option-values-in-a-html-select-drop-down-doesnt-work-in-chrome-sa

https://stackoverflow.com/questions/22681141/select-option-padding-not-working-in-chrome

https://stackoverflow.com/questions/31177789/increase-gap-between-select-menu-options

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...