Welcome to WebmasterWorld Guest from 50.17.5.36

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

Must I put adsense panel in a frame?

<IMG SRC="picture.jpg" ALIGN=RIGHT>

     
4:00 am on Aug 24, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 9, 2003
posts:118
votes: 0


I'd like to flow text around the AdWords skyscraper, just like I do images:
<IMG SRC="picture.jpg" ALIGN=RIGHT>
Is this possible?
2:07 pm on Aug 24, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 8, 2001
posts:1402
votes: 0


Not sure what you mean by 'frame' in this context, but you can use CSS and 'float'.

The skyscraper will still be full height if there are less than 4 ads, but your body content will flow around the skyscraper.

4:01 am on Aug 25, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 9, 2003
posts:118
votes: 0


I've been putting adsense in a table cell...
5:00 am on Aug 25, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 9, 2003
posts:2072
votes: 2


I've used a CSS solution to do something similar.

In an external .css file I've created a definition for the skyscraper:

#skyscraper {
float:right;
margin:auto;
width:128px;
}

then around the adsense code in the main html document, I've put:

<div id="skyscraper">

...ADSENSE CODE...

</div>

Is that the kind of thing you mean?

5:52 am on Aug 25, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 7, 2003
posts:137
votes: 0


ronin, can you sticky mail me the url of your web site?
8:30 pm on Aug 25, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:June 28, 2003
posts:83
votes: 0


Ooooh, float:right.

I've been using a table instead, and that's a much neater solution. Thank you.

8:47 pm on Aug 25, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:June 28, 2003
posts:83
votes: 0


...and done. That's much nicer.

I would actually suggest...

style='float:right;margin-left:6px;margin-bottom:6px;'

...which then adds nice margins.