I'm trying to add spacing between the <option> tags by padding, height and margin - yet none have worked. Does anyone have any ideas? It's the simple things that stop me in my tracks haha. All of the options look cramped up and untidy, I'd like to give them room to breathe :)
Styling is not really an option (no punn intended) for the option element. Except for background-color and color I beleive..., style settings applied for the option element are ignored.
Edited by JorgeM
Sorry for missing the recent discussion.
That sucks, I've seen so many funky dropdowns though where there is more spacing, different font sizes, bold options that aren't indented and so on. AFter a little more research it appears that they can't be stryled because they are complied by the browser and not HTML. The only way around this is to use a plugin that complies its own dropdows such as:
That can be styled and it's being built from lots of components by JQuery.
May I request you guys to check my website eletsonline dot com and suggest me the best ways to improve its Alexa Ranking. I'm working hard from last couple of ...
I have a checkbox input switch set up over the Input text box that acts as an on/off switch for that particular field. I am also using jQuery Validator (jqueryvalidation.org) ...
For some reason when I click on my simple input box, the input box does not accept focus. Has anyone has a solution fot this? Here is a link ...