SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: Ad sometimes appears out of place

  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2006
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ad sometimes appears out of place

    We have an ad in a header that appears out of place at times. This seems to happen at times when the ad takes a longer than usual time to load. I have attached images of the file out of place and in the proper place.

    Any ideas about how to ensure that the ad appears in the proper place?
    Attached Images

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    SitePoint Award Recipient Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    37,862
    Mentioned
    103 Post(s)
    Tagged
    3 Thread(s)
    Hi,

    What browser is this happening in and what do you have to do to make it happen?

    If the ads are always the same width then try floating the iframe to the right with the correct width.

    Code:
    #money-bg iframe{float:right;margin:0 10px 0 0;display:inline;width:728px;}
    It's probably one of those bugs that you just have to keep trying different things if it only happens occasionally.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jun 2006
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Paul,

    This is happening in firefox 3.5.9. It also happens in chrome.

    You don't have to do anything special to make it happen. It just happens sometimes.

    I will attempt to use your suggestion. It is a strange issue though, because it does not happen all the time.

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    SitePoint Award Recipient Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    37,862
    Mentioned
    103 Post(s)
    Tagged
    3 Thread(s)
    Let me know what happens. These type of bugs are the hardest to fix and can usually only be done on the real site because local versions don't exhibit the problem.

  5. #5
    SitePoint Enthusiast
    Join Date
    Jun 2006
    Posts
    55
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Paul,

    I just wanted to let you know that simply floating the ad to the right did the trick. Thanks for the help.

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
  •