Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jul 2011
    Posts
    172
    Thanks
    64
    Thanked 2 Times in 2 Posts

    Facebook like button, Internet Explorer

    I have a facebook like button added to one of the Wordpress themes, and it is not showing right border in Internet Explorer (it works fine in Chrome, and Firefox). It looks like the border gets covered by white background of the page. I can move the button with a mouse, in a way, so it is showing the right border, but the right side of the button gets covered by the background in the same way.

    I did not find any info about it on the Internet. Does anybody know any good solution to this one?

    Thank you.

    (The website is currently at http://veronicadasouza.net/ (!!! some xxx content)



    # # # EDIT

    It looks like it is related to some code in particular themes (the button displays correctly on most of the other themes), possibly iframe.
    Last edited by joliett89; 04-14-2013 at 10:50 AM.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello joliett89,
    Is it some .js that sets that width? I see in FF it's 71px and in IE it's 72px wide. That doesn't take into account the 2px right padding I saw on the check box... sorry I can't go look at it again to tell you where I saw that.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    Regular Coder
    Join Date
    Jul 2011
    Posts
    172
    Thanks
    64
    Thanked 2 Times in 2 Posts
    This is the script code:

    <div id="fb-root"></div>
    <script>
    (function() {
    var e = document.createElement('script'); e.async = true;
    e.src = document.location.protocol +
    '//connect.facebook.net/en_US/all.js#xfbml=1';
    document.getElementById('fb-root').appendChild(e);
    }());
    </script>


    And this is what is showing the button on a page:

    <fb:like href="<?php echo get_site_url(); ?>" send="false" layout="button_count" show_faces="false"></fb:like>


  •  

    Posting Permissions

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