first page load, line break at top

Discussion in 'HTML & Website Design' started by monkeyclap, Feb 16, 2010.

  1. #1
    i have a website primarily in html and css 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).

    site in question is 1st in my sig, thanks
     
    monkeyclap, Feb 16, 2010 IP
  2. LeetPCUser

    LeetPCUser Peon

    Messages:
    711
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you look at the code of the first load it is embedding a flash object, that although hidden, is displaying height. You should have a height on the div or maybe realign it to a different location of the file.
     
    LeetPCUser, Feb 16, 2010 IP
  3. tonyrocks

    tonyrocks Active Member

    Messages:
    1,574
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    88
    #3
    I would move the embed code around in your code.
     
    tonyrocks, Feb 16, 2010 IP
  4. monkeyclap

    monkeyclap Active Member

    Messages:
    836
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    85
    #4
    so what about second load? does it not appear?
     
    monkeyclap, Feb 16, 2010 IP
  5. monkeyclap

    monkeyclap Active Member

    Messages:
    836
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    85
    #5
    i've looked at the code and it's the same on first page load as others, and css never changes either.

    so why is it happening? cheers
     
    monkeyclap, Feb 18, 2010 IP