Need Align Centering Help, Please

Discussion in 'HTML & Website Design' started by COOLORANGEFREEZE, Sep 28, 2009.

  1. #1
    So I added a Google Friend Connect and I need help aligning it. Here is the code... what do I type to make it center? The upper part is code to something else (a table of buttons).

    <tr><td><a href="contact.php">Contact Us </a></td></tr>
    </table>
    <br/>
    <br/>
    <align="center"> <----------starts here
    <!-- Include the Google Friend Connect javascript library. -->
    <script type="text/javascript" src="http://www.google.com/friendconnect/script/friendconnect.js"></script>
    <!-- Define the div tag where the gadget will be inserted. -->
    <div id="div-1699736358526080710" style="width:209px;border:1px solid #f0e68c;"></div>
    <!-- Render the gadget into a div. -->
    <script type="text/javascript">
    var skin = {};
    skin['BORDER_COLOR'] = '#f0e68c';
    skin['ENDCAP_BG_COLOR'] = '#f0e68c';
    skin['ENDCAP_TEXT_COLOR'] = '#336600';
    skin['ENDCAP_LINK_COLOR'] = '#339900';
    skin['ALTERNATE_BG_COLOR'] = '#ffffff';
    skin['CONTENT_BG_COLOR'] = '#ffffcc';
    skin['CONTENT_LINK_COLOR'] = '#996600';
    skin['CONTENT_TEXT_COLOR'] = '#336600';
    skin['CONTENT_SECONDARY_LINK_COLOR'] = '#996600';
    skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#339900';
    skin['CONTENT_HEADLINE_COLOR'] = '#336600';
    skin['NUMBER_ROWS'] = '5';
    google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
    google.friendconnect.container.renderMembersGadget(
    { id: 'div-1699736358526080710',
    site: '12903004405393417212' },
    skin);
    </script>
     
    COOLORANGEFREEZE, Sep 28, 2009 IP
  2. mdvasanth86

    mdvasanth86 Notable Member

    Messages:
    3,869
    Likes Received:
    285
    Best Answers:
    0
    Trophy Points:
    230
    #2
    <center> YOUR CODE THAT YOU WANT CENTER ALIGNED </center>
     
    mdvasanth86, Sep 28, 2009 IP
  3. COOLORANGEFREEZE

    COOLORANGEFREEZE Active Member

    Messages:
    296
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    Thanks for that, mdvasanth86. I just went and did <div align=" center" > and it worked perfectly. The experiment continues:)
     
    COOLORANGEFREEZE, Sep 28, 2009 IP