Skip to content

Instantly share code, notes, and snippets.

@robertjwhitney
Created August 18, 2009 21:19
Show Gist options
  • Save robertjwhitney/169984 to your computer and use it in GitHub Desktop.
Save robertjwhitney/169984 to your computer and use it in GitHub Desktop.
<!-- insert this code where you want the button to appear -->
<a class= "qrme" href="http://wilsoncolab.com/QRme/qrme.html"><span><img src='http://wilsoncolab.com/QRme/qrme_icon.png' width= '12px' height='12px' />Get QR</span></a>
<!-- insert these styles into the header of your html doc, or in your stylesheet -->
<style type="text/css">
a.qrme { font: 12px Helvetica,Arial; color: #000; text-decoration: none; border: 0px; padding: 2px; }
a.qrme span { background: #009B95; border: 1px solid #006561; color: #fff; float: left; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; margin-left: 2px; padding: 3px 4px 2px; }
a.qrme span:hover {color: #fff; background: #01ada6; border-color: #017c77;}
a.qrme img {border: 1px solid #000; float: left; margin-top: -1px; margin-right: 2px;}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment