html - Styling <select> menus using only CSS/CSS3 -


this question has answer here:

i wish know why can't style select menu(not dropdown menu) using css alone can style buttons or checkboxes. have come across many articles have styled them used javascript manily imitate select behavior in <ul>...<li> methods. have tried style select , not option.

i looking css method only. regards.

i wish know why can't style select

html 4.01 (or css 2.1?) let user agents style form elements way want. there has been little standardisation , when filed bug in bugzilla of webkit (mostly), answer "show me part of recommendation buggily implemented in rendering engine. none? ok wontfix kthxbye".
fair, 3 vendors have 3 os , 3 ui consider, apple had 2 , 1 , 5th had more important problems solve.

here's state of art 2007: styling form controls css, revisited (r. johansson). far webkit may annoy me, don't regret that time! (except safari 2: "we can't anything" answer understood clients, more "yes not everything... , that, etc")

so no padding in webkit afaik , if really need custom everywhere, go custom lists , wai aria mimick native elements.


edit: article summary: the problem of css form elements (smashing magazine, gabriele romanato)

mdn article seems outdated. i'll have further tests legend can floated in ie8+. what's written true ie7 , ie6 though. absolute positioning (and known width) way position in these browsers.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -