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 6 of 6
  1. #1
    Regular Coder croatiankid's Avatar
    Join Date
    Jan 2006
    Posts
    665
    Thanks
    1
    Thanked 12 Times in 12 Posts

    google ads mess up blog in FF

    I don't think google can help me with this (yeah what customer service eh), so can you guys give a shot? This is such a weird-[bleep] problem. link.
    So view it in IE, everything's fine, I even got the "get firefox" referer ad. Sure, go ahead, get firefox and you can say goodbye to this nice layout. I'm sure it's caused by the ads that are placed in the white div. Now Idk if this is more of JS or HTMl, but since the ads are JS I thought to place this here. Here comes the weird part: view it in firefox, the layout is messed up (the divs don't expand with the content, because of the ads). now, press "restore" (between "minimize" and "exit", and you'll see magic: the layout is fixed! press maximize, and the layout stays fixed! but reload the page, and it's a mess again.
    LOL
    and thanks!

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    I'm going to go with an html problem. Look at your code for the ads. See anything wrong? An unopened span tag perhaps?
    Code:
    <!-- google_ad_section_end -->
    
    <script type="text/javascript"><!--
    google_ad_client = "pub-1021994113588969";
    google_ad_width = 180;
    google_ad_height = 90;
    google_ad_format = "180x90_0ads_al_s";
    google_ad_channel = "";
    google_color_border = "32312C";
    google_color_bg = "32312C";
    google_color_link = "B9D0C2";
    google_color_text = "B9D0C2";
    google_color_url = "B9D0C2";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script><br /><br />
    <script type="text/javascript"><!--
    google_ad_client = "pub-1021994113588969";
    google_ad_width = 180;
    google_ad_height = 60;
    google_ad_format = "180x60_as_rimg";
    google_cpa_choice = "CAAQ24Oy0QEaCGbgW7AaXRokKMu293M";
    google_ad_channel = "";
    //--></script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script></span>
    If you validate your code you would have known this.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Regular Coder croatiankid's Avatar
    Join Date
    Jan 2006
    Posts
    665
    Thanks
    1
    Thanked 12 Times in 12 Posts
    irrelevant unfortunately, but thanks for pointing it out.
    (it's left over when I tried to do something else earlier today)
    Last edited by croatiankid; 11-05-2006 at 10:57 PM.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Hmm seems like Google might be creating some bad html causing it to mess up your columns in Firefox. I guess what you could do which is what I see most people do is put the ads in an iframe this way you know that google won't be generating bad code directly to your page.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    Regular Coder croatiankid's Avatar
    Join Date
    Jan 2006
    Posts
    665
    Thanks
    1
    Thanked 12 Times in 12 Posts
    okay i'll do that and post the outcome tomorrow. thank you and goodnight!

  • #6
    Regular Coder croatiankid's Avatar
    Join Date
    Jan 2006
    Posts
    665
    Thanks
    1
    Thanked 12 Times in 12 Posts
    impatient me. it looks fine now, i just need to get rid of the scrollbars, and add it to the appropriate php files. thx!


  •  

    Posting Permissions

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