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.