I am trying to add the 'ShareThis' button to my website. It is pre-set to be on the left side of the page but I want it on the right side. I have added the <ALIGN=Right> to the code but it still goes to the left. Have I added the wrong code? <ALIGN=Right><span class="st_sharethis_button" displayText="ShareThis"></span> <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:'72bea167-5870-4612-b333-2c9a981074b2' offsetRight:'150'});</script>
The <ALIGN>-tag does not exist... Use it in a <DIV>-tag instead, like this: <div width="100%" align="right"> <span class="st_sharethis_button" displayText="ShareThis"></span> <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:'72bea167-5870-4612-b333-2c9a981074b2' offsetRight:'150'});</script> </div>
Thanks for your help as this has been bugging me most of the morning! I didnt know that the <ALIGN> tag was not used anymore.
there are two ways one you can use in the div tag eg: <div align="right"> other way is you can use in style <div style=" float: right">
You can also make it like this: <p style="text-align:right;"> <span class="st_sharethis_button" displayText="ShareThis"></span> <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:'72bea167-5870-4612-b333-2c9a981074b2' offsetRight:'150'});</script> </p>