Skip to content

Instantly share code, notes, and snippets.

@mariemosley
Last active October 8, 2015 07:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariemosley/3301868 to your computer and use it in GitHub Desktop.
Save mariemosley/3301868 to your computer and use it in GitHub Desktop.
Simple HTML grab button for blogs
<!--grab button header -->
<div class="grab-button" style="width: 150px; margin: 0 auto;">
<img src="http://www.codeitpretty.org/pic.png" alt="Grab button for YOUR BLOG NAME" width="150" height="150" />
<!--end grab button header -->
<!-- button code box -->
<div style="margin: 0;
padding: 0;
border: 1px solid gray;
width: 150px;
height: 150px;
overflow: scroll;">
&lt;div class="YOUR-BLOG-NAME-button" style="width: 150px; margin: 0 auto;">
&lt;a href="http://www.example.com" rel="nofollow">
&lt;img src="http://www.codeitpretty.org/pic.png" alt="YOUR BLOG NAME" width="150" height="150" />
&lt;/a>
&lt;/div>
</div> <!--end grab-button --></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment