Forum Moderators: martinibuster

Message Too Old, No Replies

Css Help needed to place Adsense code out of the table

With 2 adsense big loading problem

         

fraudcop

4:32 pm on Sep 13, 2004 (gmt 0)

10+ Year Member



I want to place the Adsense 300x250 code at the botton of the page html code and then use Css to insert it inside the tables.

I did a search here and found something similar used for a skyscraper but I don't know How to modify it.

Is there an expert that can help me?

thanks in advance

fraudcop

example from another post from another member(code and quote Not made by me)


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>

[edited by: fraudcop at 4:56 pm (utc) on Sep. 13, 2004]

raptorix

4:39 pm on Sep 13, 2004 (gmt 0)

10+ Year Member



Well don't know how to do it by css, but what you can do is to move the DOM InnerHTML of a div to another DIV.

something like var html = document.skyscraper.innerhtml
document.mydivd.innerhtml = html

Its pseudocode, so don't copy/paste ;)

fraudcop

5:26 pm on Sep 13, 2004 (gmt 0)

10+ Year Member



thanks raptorix

I found DIV code in another post but I still need to modify it to make the adsense go inside the table before the footer and I don't know exactly How to.

<div id='adsense' style='z-index:1; container:positioned; position:absolute; top:7; left:72%'>

<script language='JavaScript'>
<!--
google_ad_client = 'some number';
google_ad_width = 120; google_ad_height = 600; google_ad_format = '120x600_as';
// -->
</script>
<script language='JavaScript' src='http://google.url'>
</script>
</div>

This just puts the adsense panel at the top right of my page.