Button Text


Some Longer Button Text

This button is made using only one image, and will adjust to the size of the text within it. this is achieved using css to add a background image to the button, and a "strong" tag within it. aligning one to the left, one to the right, and then some padding.

Simply include the css onto the page, change the button source in the "background" attributes, then modify the heights and paddings to fit your buttons. Make sure the button image is wider than any button you will use it on. To apply the class of "button" to any "a" tag, and wrap a "strong" tag inside of it.

View the source to see the code