From Microformats Wiki
Jump to navigation Jump to search

CSS Buttons

As there are new microformats happening all the time I set about making a CSS button that looks like the handmade versions. This is the result.

The file with the CSS and the two images required (logo and background) can be downloaded from The Beastly Beasts.

Extract the microformat directory and the files in it to /css so that you have:

If your paths are different a bit of editing is needed.

The XHTML to create a button is:

<tag class="microformat-button microformat-type"><span></span>microformat-type</tag>

For example, an hCard button with a link to the spec:

<a href="" title="Microformat enabled" class="microformat-button hcard"><span></span>hcard</a>

Released into public domain

I agree to release all my text and image contributions (past, present and future), into the public domain*. Please be aware that other contributors might not have done the same, so if you want to use pages with my contributions under public domain terms, please check past contributors' user pages.

"^ Creative Commons Public Domain License, the original at or any later version published by Creative Commons; with either a waiver of rights, or an assertion that no rights attach to a particular work."