addthis_button_compact in page footer affecting layout

george.durzi Dec 19, 2011 04:13PM EST

I'd like to put the simple Add This "plus" button in my footer lined up with a facebook and twitter icon linking to our company's facebook and twitter profiles, for example:

<span><a href="http://www.addthis.com/bookmark.php?v=300" class="addthis_button_compact"></a></span>
<span><a href="https://www.facebook.com/MyCompany"><img src="icon-facebook.png" /></a></span>
<span><a href="http://twitter.com/#!/MyCompany"><img src="icon-twitter.png" /></a></span>

The addthis_button_compact class is setting a width of 157px to the containing span and pushing everything else down.

Is there a way for it to just consume the 32x32 area that the icon takes up?

Up 0 Rated Down
george.durzi Dec 19, 2011 04:16PM EST
Forgot the part about the 157px ... That's something from the containing div. What float and display settings are applied by default? I think I need to override those. Thanks
Up 0 Rated Down
Paul (AddThis Happiness Specialist) Dec 20, 2011 01:11PM EST
Could you give me the URL of an example page?

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Still need help?


General Topics

 

Developers