Reply
Position problem with google ads.
Old 04-05-2006, 06:32 PM Position problem with google ads.
Average Talker

Posts: 20
Hello I have this odd problem that I can not seem to figure out. This problem also only seems to be happening at the 1024 X 768 screen resolution. When you open a page that has google ads on them,http://www.showandtell-graphics.com/ , the right side div mashes into the center content div.


Now if you hit the Restore Down button everything is then ok and functions properly while you are on that page. If you go to another page and come back it is screwed up again. If I remove the google ads, the div acts properly. It all looks ok to me so I am not sure.

Here is the HTML:
<div id="right"><a href="http://validator.w3.org/check?uri=ht...com/index.html" target="_blank"><img src="http://www.webmaster-talk.com/images/valid-html401.gif" alt="W3C Validator" width="88" height="31" border="0"></a>
<img src="http://www.webmaster-talk.com/images/an1.gif" alt="an1" width="40" height="40">
<script type="text/javascript"><!--
google_ad_client = "pub-0253047582812542";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

And here is the CSS:
#right {
position: absolute;
right: 0px;
top: 180px;
width: 200px;


Any ideas would be greatly appreciated.

Last edited by Zoddman1 : 04-28-2006 at 01:06 AM.
Zoddman1 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 04-05-2006, 07:21 PM Re: Position problem with google ads.
King Spam Talker

Posts: 1,124
I am a CSS newbie. Google is running as a java and will do what it wills.

Try increasing the right padding on the yellow text portion.
colbyt is offline
Reply With Quote
View Public Profile
 
Old 04-05-2006, 08:04 PM Re: Position problem with google ads.
jyoz22's Avatar
Extreme Talker

Posts: 242
Location: Orlando, FL
it's javascript not java, they are two different things.
__________________
Jyoz
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 04-05-2006, 08:17 PM Re: Position problem with google ads.
jyoz22's Avatar
Extreme Talker

Posts: 242
Location: Orlando, FL
after viewing your css file i think if you change your witdh for -- "#right" to about 180 (or around there) this will make it work.
__________________
Jyoz
jyoz22 is offline
Reply With Quote
View Public Profile
 
Old 04-06-2006, 12:31 PM Re: Position problem with google ads.
Average Talker

Posts: 20
Thanks jyoz22, that worked. Never occurred to me to try that. I thought that as long as the google box width was smaller than or equal to the div width, all would be good. Must be a javascript thing. Thanks again. It is always something so simple.
Zoddman1 is offline
Reply With Quote
View Public Profile
 
Old 04-06-2006, 07:32 PM Re: Position problem with google ads.
amygdela's Avatar
Super Talker

Posts: 112
GoogleAds are JavaScript until it's parsed by the browser. After that (the moment it appears on your screen) it's just an iframe with an HTML page in it.
amygdela is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Position problem with google ads.
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12915 seconds with 12 queries