Results 1 to 4 of 4

Thread: Basic HTML CSS - Customize AddThis Button

  1. #1
    Join Date
    Apr 2008
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Basic HTML CSS - Customize AddThis Button

    Hi!

    I am looking to insert an AddThis.com button to my website, but it doesn't work well.

    I have this part at the right-top of my website (sort of ''Bookmark Us'' link) :
    <body>
    <div id="main">
    <div id="top">
    <div style="float:right"> <span style="display:block; padding-top:30px">(Instead of ''Bookmark Us'' text, I would like the AddThis.com button placed HERE!)</span> </div>
    I found this also into the Layout.css maybe will help:

    }

    img{border:none}

    #main{float:left; width:100%}
    #top_bookmark{ margin-left:auto; margin-right:auto; width:750px; padding-bottom:5px; text-align:right; padding-right:30px;}
    #top{width:780px; margin-top: 0;margin-right: auto;margin-bottom: 0;margin-left: auto; padding-top:0; height:97px}
    .clear{ clear:both}
    And this is the AddThis standard button:

    <!-- AddThis Button BEGIN -->
    <div class="addthis_toolbox addthis_default_style">
    <a href="http://www.addthis.com/bookmark.php?v=250&amp;username=xa-4c6afe321fabff8c" class="addthis_button_compact">Share</a>
    <span class="addthis_separator">|</span>
    <a class="addthis_button_facebook"></a>
    <a class="addthis_button_myspace"></a>
    <a class="addthis_button_google"></a>
    <a class="addthis_button_twitter"></a>
    </div>
    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4c6afe321fabff8c"></script>
    <!-- AddThis Button END -->
    Thank you,

    Mike.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    You havent actually said what's wrong - only "it doesn't work well".

    What do you want to fix exactly? What is it about the current setup that doesnt do what you want? What do you want it to do instead?

    Also provide a link to your website.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Apr 2008
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Still working on the website on my pc, is a free template I found on the web.

    The original layout is this:

    http://www.mojoimage.com/free-image-...=4409test1.jpg

    and here i replace the ''Easily Updatable Website for $100'' with the AddThis code:

    http://www.mojoimage.com/free-image-...=1149test2.jpg

    With this ''crappy'' result:

    http://www.mojoimage.com/free-image-...d=319test3.jpg

    Thanks.

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Put a height on the span to increase the space for the icons.

    And/or, remove the padding and add a top-margin and bottom-margin instead.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •