Posted by: Matthew | January 16, 2008

Create nice buttons in CSS

It’s always nice when a website looks good consistently across all browsers and OS. One problem is that buttons (input type=”button”) are rendered native to the OS so a site that uses normal buttons in IE7 on Vista looks great, but when viewed in IE6 on Windows XP, they look drab and bland … definitely not what you intended for you look-and-feel.

A good solution is to style anchor tags to look and feel like a button. An awesome example can be found at Oscar Alexander’s blog, using CSS techniques to alter the background images. It’s well worth a look.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.