This is simple and effective way to have buttons that scale (width-wise) without any weird browser-specific CSS (apart from IE6/7) or JavaScript implementations. Just using pure CSS goodness.
And since we should care about the user, the buttons also offer feedback - hence different images for :hover, :active CSS events.
Download the Pure CSS Buttons (v1.0)
<a href="#" class="grey-button pcb">
<span>Grey button</span>
</a>
<a href="#" class="grey-disabled-button pcb">
<span>Grey disabled button</span>
</a>
Compatible with:
If you have suggestions free feel to contact me
© Halmat Ferello 2009