I imagine this is not a very specific programming question.
But have you tried to style select element?
I’ve read that it is OS specific feature and thus without jquery using simple css it is impossible to style.
-
So I wonder if anyone has tried to come up with a simple (short)
script that rewrites select into<ul><li>? -
What are drawbacks? vs clean select?
-
And is it possible to style also drop down part? implementations I’ve seen on web are mostly half styled – only the arrow portion.
Thank you.
In general, it is not advised to style form elements directly. Neither will it do you too much good except for older IEs. Form elements have traditionally been in coherent styling as the operation system to give a consisten UI experience, so they aren’t designed to be styled over. If you wish though, there are alternatives:
For select elements, there is a great plugin called chosen
There’s also various frameworks for this such as bootstrap from Twitter.