Forum Moderators: martinibuster

Message Too Old, No Replies

Alternate Ads and Opera 7.0

display problems with white space

         

euripydes

6:25 pm on Feb 18, 2004 (gmt 0)

10+ Year Member



I have set up an alternate ad for my Google Adsense which displays fine in IE6 and Firefox, but in Opera it is diplayed with 2 or 3 pixels of white space along the top and left borders. (It's a 468x60 banner.)

My adsense code is placed in a cell by itself, with vertical alignment = top for both cell and row.

Anyone else come across this problem?

<Edit -- It's actually Opera 7.23>

euripydes

7:59 pm on Feb 18, 2004 (gmt 0)

10+ Year Member



Answering my own post.

I mithered away at that pesky HTML...

Adsense requires you to link to a page that has the alternate code on it. So I created the page in my usual WYSIWYG editor, and got the problem I just described.

Solution - take the code provided by the affiliate, paste it into Notepad, and save it with an HTML extension.

Upload the resulting file to your server, and link to it as the alternate URL for Adsense.

Hope this helps someone else who has the same problem.

dazzlindonna

8:33 pm on Feb 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



maybe this does help me. are you saying not to have anything on the page other than the code? (no html or body tags?). because i have just a plain html page with tags, with the adcode between the body tags, and all i get is a big blank spot where the ad should be.

euripydes

10:42 pm on Feb 18, 2004 (gmt 0)

10+ Year Member



Yes, that's exactly what I did.

I'm using an ad from an affiliate as an alternate to Adsense. The code starts

<!-- Begin affiliate Code-->
<p align="center">
<A href="... ETC

and ends
"></a></p>
<!-- End affiliate Code-->

Originally, I copy and pasted this into the source view of my HTML editor. As you say, you get a whole host of additional tags this way, and it didn't work. So instead I took the affiliate code, pasted it into a text editor, and saved it COMPLETELY UNCHANGED as an HTML file. That is the file which I uploaded to my server, and now use as the target URL for my alternate ads.

There are probably other ways, but this worked for me.

dazzlindonna

11:49 pm on Feb 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



darn, i tried that but i still get nothing but white space.

here's a summary ... i'm pointing the alternate ad to an html file that has nothing in it except an image tag surrounded by an a href tag.

if i view this page by itself, i see the ad fine.

however, when included in the google adsense code on my page, only a blank area where the ad would be shows up.

anyone else have a solution to this?