Skip to content

Instantly share code, notes, and snippets.

@jpadilla
Created April 6, 2011 03:43
Show Gist options
  • Save jpadilla/905100 to your computer and use it in GitHub Desktop.
Save jpadilla/905100 to your computer and use it in GitHub Desktop.
Placing Tweet and Like buttons side by side
<style type="text/css" media="screen">
iframe { vertical-align: top; }
</style>
<!-- Facebook's Like Button -->
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<fb:like href="#" layout="button_count" show_faces="false" width="90"></fb:like></span>
<!-- Twitter's Tweet Button -->
<a href="http://twitter.com/share" class="twitter-share-button" data-text="Testing..." data-count="horizontal" >Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment