The web is crowded with color-picker palettes using JavaScript
mumbo-jumbo. I wanted one working with css only + server-side
scripting and got the idea to use a <select> with <optgroup>s
and <option>s styled with display: block and display: inline
respectively. It works in Firefox 3.6 at least. What about
other browsers?

<http://melroch.se/misc/palette.html>

I would have liked for the selected color names to be shown
after the menu collapses, but can't find any way to get that
without breaking the menu itself.

BTW, what's up with the FF submit button?  It can't be styled!

/BP
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to