first page load problem, line break at top - why to stop this?

Discussion in 'CSS' started by monkeyclap, Feb 21, 2010.

  1. #1
    hello all. i've asked this a while back before but not solved it.

    i have a website and when it loads the first time, there is a line break across the very top, but not in future loads (which is the way it should be).

    i'm guessing it must be a html/css issue?

    site in question is 1st in my sig, thanks in advance
     
    monkeyclap, Feb 21, 2010 IP
  2. champ

    champ Member

    Messages:
    30
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    48
    #2
    It looks like a div is being added on the first page load by the third-party AddThis script. It's adding it dynamically to the DOM and you're only seeing it once due to cookie tracking.

    This is what it appears to be adding:
    <div id="atffc"><object type="application/x-shockwave-flash" data="//bin.clearspring.com/at/v/1/button1.6.swf" id="atff" height="1px" width="1px"><param value="transparent" name="wmode"><param value="always" name="allowScriptAccess"></object></div>
    Code (markup):
    Here's a drupal post about someone experiencing the same thing. They detail a fix that'll disable what you're experiencing without having to remove AddThis altogether.
    http://drupal.org/node/597872

    After finding and applying a fix, just clear your cookies and reload your page to see if it's resolved.
     
    champ, Feb 21, 2010 IP
    monkeyclap and Stomme poes like this.
  3. monkeyclap

    monkeyclap Active Member

    Messages:
    836
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    85
    #3
    magic, issue fixed, repped++ :D THANKS
     
    monkeyclap, Feb 22, 2010 IP