Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8218677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:53:01+00:00 2026-06-07T12:53:01+00:00

I currently have a Table solution to formatting the AddThis Div Buttons. You can

  • 0

I currently have a Table “solution” to formatting the AddThis Div Buttons.
You can see this at: http://www.siding4u.com/save-on-siding.php

At the top of the page it shows correctly:
AddThis buttons formatted to the right of an image and offset at the top of the page

Here’s the Code (work around) for that:

<table align="center" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="60%" align="right"><img title="Help us. Help you." src="http://www.siding4u.com/media/shareaholic/img_help-us-help-you_right_yellow-text.png" alt="TEXT: Sharing is caring! Help us. Help you." width="360" height="23" /></td>
    <td width="40%" align="left"><!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=siding4u"></script>
<!-- AddThis Button END --></td>
  </tr>
</table>

I’m having/wanting to convert all of my table layouts to CSS but I can’t seem to get the AddThis buttons to cooperate. They always seem to “LEFT JUSTIFY” or BREAK Somehow – no matter what I try.

I’m guessing this is an easy fix but I’m one of those CSS “block heads” that can’t seem to whip the CSS into shape.

Please help…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T12:53:03+00:00Added an answer on June 7, 2026 at 12:53 pm

    In css aligning images is based on their position on the page rather than their justification ( the elements with class addthis_button_preferred_1...n should probably control this ) In a table you justify it left/center/right etc. while with CSS your aim is to align the in a way that it’s child elements will be in the middle.

    HTML:

    <div id='wrapper'> <!-- parent div containing the help-us-help-you image and the buttons-->
        <div id="help_us"><!-- float:left because we want the image div and the button dive to be besides eachother -->
            <img title="Help us. Help you." src="http://www.siding4u.com/media/shareaholic/img_help-us-help-you_right_yellow-text.png" alt="TEXT: Sharing is caring! Help us. Help you." width="360" height="23"/>
        </div>
        <div id='buttons'><!-- this div should also be floated left and have padding, to align the buttons correctly -->
    
            <!-- each of the link elements should get some padding -->
            <a class="addthis_button_preferred_1 button_preferred"></a>
            <a class="addthis_button_preferred_2 button_preferred"></a>
            <a class="addthis_button_preferred_3 button_preferred"></a>
            <a class="addthis_button_preferred_4 button_preferred"></a>
            <a class="addthis_button_compact button_preferred"></a>
            <a class="addthis_counter addthis_bubble_style button_preferred"></a>
        </div>
    </div>
    

    The whole example is online on this fiddle, and should hopefully help with the alignment, and is a pure CSS solution, no tables there at all!

    p.s. As a side note, I do recomend you use jsfiddle for CSS/HTML/javascript issues, it does help us see the problem better, and make changes faster.

    EDIT
    For the second issue:

    <div align="center" style="margin-bottom:0; margin-top:5px;"> 
    <div id='wrapper'> 
    ...
    ​</div>
    ...
    </div>
    

    For this element the height for some reason is 48 px, which creates a gap between the two elements. So apply a height to it, change:

    style="margin-bottom:0; margin-top:5px;"

    TO:

    style="margin-bottom:0; margin-top:5px;height:23px;"

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a table structure that looks something like this(some details omitted): ColumnName
I have a table which currently looks a bit like this- CASEID ¦ FORMNAME
We have a (currently InnoDB) table which contains roughly 500,000 rows. This represents a
I currently have a java script solution to make an entire table row clickable.
Hi Guys I currently have this table MEMBER **ID Position Latitude Longitute** 1 1
I currently have this schema: CREATE TABLE `users` ( `users_id` int(11) NOT NULL AUTO_INCREMENT,
I currently have a Table [org.eclipse.swt.widgets.Table] with several TableColumns; however, due to UI space
I currently have a table with a nested table in it: <table class=datagrid id=report>
I currently have a table which only has a single editable column. I have
I currently have a table with an id column that is being autoincremented and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.