PDA

View Full Version : Adapting <a> based button to form submit w/CSS



dl0
Aug 20th, 2007, 07:46 PM
I have implemented the following button in my web application.

http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html

I was curious how this could be adapted to work on a form submit input butting instead of the anchor that is provided here?

I tried something like input.submit in the CSS definitions but I wasn't sure how to handle the span in this particular case.

Thanks!
D