More flexible buttons


Author Message
Poul

Posted: 6/5/2012
Quote message 

When creating a button and assigning it to the class "art-button", it looks like the Artisteer-theme button.

Unfortunately only the width of the button responds to the content, not the height.

Often one might want to create large buttons (like "BUY NOW") or multi-line buttons. Currently this is not possible as the text just disappears outside the button.

More flexible sizing of buttons would be very useful.
 
Ted

Posted: 1/11/2013
Quote message 

You can make an Artisteer-like button with your desired height, but it requires you to create the button graphic yourself. The easiest thing is just to make the entire button (with text) in Photoshop/Gimp/Paint.NET and put it as an <img> tag wrapped in an <a>. You skip the whole Artisteer button thing that way.

If you want an Artisteer-like button with your height and your graphic, but lets you put text in like Artisteer does and sizes width accordingly, it's harder but can be done. I've made a blog post on how to do it here:

http://www.binaryphile.com/artisteer/coopting-artisteer-s-button-design-to-make-your-own-artisteer-like-buttons/