Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Creating a 'new' input type by style-ing <option>


penders - 8:26 am on Jul 13, 2011 (gmt 0)


My initial thought is that you can't do this with a SELECT. You should probably still use a SELECT (or RADIO buttons?) for browsers that don't support JavaScript (the next bit) and to pass the users response through to in the background.

Use JavaScript... when the page loads, hide your SELECT and create your whizzy control with onclick events that pass the response through to the underlying SELECT so that the response is passed back to the server when the form is submitted.


Thread source:: http://www.webmasterworld.com/css/4338742.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com