Announcement

Collapse
No announcement yet.

Centering Social Booking Marking

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Centering Social Booking Marking

    I am trying to get the social book mark section to "center" under the images. It is off the the left.

    I have changed all the "lefts" that I see in the code and and nothing works.

    Can anyone tell me how to get it to align correctly?

    Here is the code:

    Code:
    </td>
              </tr>
    
    
    
    
    <tr>
                <td align="left" valign="middle" colspan="2"><img src="assets/templates/common/images/spacer.gif" border="0" alt="" width="1" height="1"></td>
              </tr>
              <tr>
                <td align="left" valign="middle" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td><table border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <!--START: frame_likebutton-->
                            <td align="left" valign="top">[frame_likebutton]</td>
                            <!--END: frame_likebutton-->
                          <tr>
                            <td align="left"><img src="assets/templates/common/images/spacer.gif" alt="" width="1" height="15" border="0" /></td>
                          </tr>
                          <tr> 
                            <!--START: product_social-bookmarking-->
                            <td align="left">[product_social-bookmarking]</td>
                            <!--END: product_social-bookmarking--> 
                          </tr>
                        </table></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>

  • #2
    Try wrapping the whole section in a div with align=center.

    Comment


    • #3
      Originally posted by wcsjohn View Post
      Try wrapping the whole section in a div with align=center.
      Thanks. I gave up. I had tried this too and it doesnt work. Everything I try moves the Pinterest button but nothing moves that stubborn FB code.

      Comment


      • #4
        Originally posted by rburton34 View Post
        I am trying to get the social book mark section to "center" under the images. It is off the the left.

        I have changed all the "lefts" that I see in the code and and nothing works.

        Can anyone tell me how to get it to align correctly?

        Here is the code:

        Code:
        </td>
                  </tr>
        
        
        
        
        <tr>
                    <td align="left" valign="middle" colspan="2"><img src="assets/templates/common/images/spacer.gif" border="0" alt="" width="1" height="1"></td>
                  </tr>
                  <tr>
                    <td align="left" valign="middle" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td><table border="0" cellspacing="0" cellpadding="0" align="center">
                              <tr> 
                                <!--START: frame_likebutton-->
                                <td align="left" valign="top">[frame_likebutton]</td>
                                <!--END: frame_likebutton-->
                              <tr>
                                <td align="left"><img src="assets/templates/common/images/spacer.gif" alt="" width="1" height="15" border="0" /></td>
                              </tr>
                              <tr> 
                                <!--START: product_social-bookmarking-->
                                <td align="left">[product_social-bookmarking]</td>
                                <!--END: product_social-bookmarking--> 
                              </tr>
                            </table></td>
                        </tr>
                      </table></td>
                  </tr>
                </table></td>
        Note the code in dark red.

        Comment


        • #5
          Originally posted by celebra1 View Post
          Note the code in dark red.
          Well, I'll be dang.......

          Thank you very much!

          Comment


          • #6
            Alignment

            You're welcome. It can be hard to see the obvious with nested tables.

            Comment

            Working...
            X