Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Centering Twitter & Facebook buttons


mike2010 - 6:26 pm on Jun 16, 2011 (gmt 0)


hmm, I appreciate the effort but mine's a little different.

I'm using the following 2 buttons (I guess I should of posted this initially) The Facebook Like is using xfbml and the twitter one is a script.

Also, my CSS for the page is located in another directory. I guess I could add everything there, instead of inbetween </head> ?

Facebook Like - <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.facebook.com/pages/mypage" ref="home" send="true" layout="button_count" width="200" show_faces="false" font=""></fb:like>


Twitter Follow - <a href="http://twitter.com/mytwitter" class="twitter-follow-button" data-button="grey" data-text-color="#FFFFFF" data-link-color="#00AEFF" data-show-count="false">Follow @mytwitter</a>
<script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script>

(not my actual facebook or twitter account pages ..but the buttons will still display)

Either having them center together next to each other on 1 line...or center above & below each other would satisfy me greatly at this point.


Thread source:: http://www.webmasterworld.com/html/4326850.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com