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 15 of 15
  1. #1
    Regular Coder
    Join Date
    Jun 2007
    Posts
    155
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Google Ad Woes in IE 7

    Well, first my site. http://elementalstudios.freehostia.com/

    The ads comes nicely out in Firefox, but in IE its on top of the Layout, I have been using CSS and HTML, I would like the ads to view like it is in Firefox, any help is appreciated.

  • #2
    Regular Coder
    Join Date
    Jun 2007
    Posts
    155
    Thanks
    19
    Thanked 0 Times in 0 Posts
    Anyone?

  • #3
    Regular Coder
    Join Date
    Jun 2007
    Posts
    805
    Thanks
    123
    Thanked 23 Times in 23 Posts
    What do you mean? I have em' in the left hand side in the black space. Where should they be in FF?

  • #4
    Regular Coder
    Join Date
    Jun 2007
    Posts
    155
    Thanks
    19
    Thanked 0 Times in 0 Posts
    This is what I mean in Firefox it views as this.

    And in IE 7 it looks like this:

  • #5
    Regular Coder
    Join Date
    Jun 2007
    Posts
    805
    Thanks
    123
    Thanked 23 Times in 23 Posts
    Why is your div set to align="right" ?

    Code:
    <div align="right" class="google"><script type="text/javascript"><!--
    google_ad_client = "pub-2787745004181943";
    google_ad_width = 120;
    google_ad_height = 600;
    google_ad_format = "120x600_as";
    google_ad_type = "text_image";
    //2007-07-04: Games
    google_ad_channel = "1177802074";
    google_color_border = "000000";
    google_color_bg = "000000";
    google_color_link = "CC0000";
    google_color_text = "000000";
    google_color_url = "CC0000";
    //-->
    </script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>
    Try to change it to align="left".

  • #6
    Regular Coder
    Join Date
    Jun 2007
    Posts
    155
    Thanks
    19
    Thanked 0 Times in 0 Posts
    Bump, I didn't reply because my google ads account got banned. But I got it back so Im still having the same problem IE...

  • #7
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    I'd suggest to remove that align attribute completely as it is deprecated.
    .
    .

  • #8
    Regular Coder
    Join Date
    Jun 2007
    Posts
    155
    Thanks
    19
    Thanked 0 Times in 0 Posts
    Ok, I have removed it. Hmm still there.

  • #9
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    If you want it in the top left as it is in Firefox then the problem is probably because IE does not recognise position: fixed; in anything other than the HTML. Try absolutely positioning it in the top left and seeing how that comes out. Put is first thing after the <body> too.
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools

  • #10
    Regular Coder
    Join Date
    Jun 2007
    Posts
    155
    Thanks
    19
    Thanked 0 Times in 0 Posts
    What do you mean by "Put is first thing after the <body> too."

  • #11
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    *Call the script first thing after the body. I had a look at your code and noticed that you just use a script in the head, whereas I put the adds at the bottom of my sites so put the code at the bottom for the ads.

    Try putting it just after the opening body tag.
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools

  • #12
    Regular Coder
    Join Date
    Jun 2007
    Posts
    155
    Thanks
    19
    Thanked 0 Times in 0 Posts
    Ok....Lets see.. still nothin..I wish there no need for cross broswer, like a some unfied thing..i dont know...

  • #13
    Regular Coder Jutlander's Avatar
    Join Date
    Jun 2007
    Location
    In my own sick little world :P
    Posts
    425
    Thanks
    1
    Thanked 12 Times in 12 Posts
    Squid, try and remove the position fixed declaration in your google class and set the float value to left instead of right.
    .
    .

  • #14
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    Quote Originally Posted by Jutlander View Post
    Squid, try and remove the position fixed declaration in your google class and set the float value to left instead of right.
    Yeah, that's what I meant to say!
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools

  • #15
    Regular Coder
    Join Date
    Jun 2007
    Posts
    155
    Thanks
    19
    Thanked 0 Times in 0 Posts
    It was always "left" I believe. Well, I removed the Position:Absolute..Still Its in the same position. What do you think is causing this, I try changing the float to right if that helps it didn't even budge, so I think its trying tell me something..Idk.


  •  

    Posting Permissions

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