Push My Button

September 28th, 2006 by Jerome Dahdah

Try to style me, sucker!Seriously, styling <input> buttons can be a pain. Browsers offer you little control, Safari even completely ignores your styles. There is an alternative, however, that I admit I’ve never really taken into consideration. The <button>. This little fellow is pretty versatile, working as you would expect from an <input>, and allowing you to make it look whichever way you want.

Unlike the input-based buttons, the majority of browsers do not force any particular design on the button element, leaving it a raw ingot which we can cast and shape to our liking.

Aaron Gustafson writes all about it on Digital Web Magazine.

Comments are closed.

For a full experience, you must agree to the use of cookies. For more information, see our Privacy Policy

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.