hans
Mar 21st 2004, 11:20 pm
if you like to add Google Adsense witout table on the right
hence with the least changes to each page ..
add to external style sheet something like ( or exactly ):
-------- snip
div.google {
float : right;
margin-left: 2em;
width : auto;
}
--------- snap
and then place the Adsense code between the div tag as shown below
<div class="google">
<!-- here you place the Google Adsense-code -->
</div>
this combination of <div>- tag+google code can then be placed on any line you want to have the vertical ads
right on top of page or below H2 or below a pic .. where ever you insert the div - there on same level ON THE RIGHT floating is the Google adsense
that saves the otherwise often used tables and creates only minimal work to add the Google Adsense-code to any number of pages any place you like - to the right ..
hence with the least changes to each page ..
add to external style sheet something like ( or exactly ):
-------- snip
div.google {
float : right;
margin-left: 2em;
width : auto;
}
--------- snap
and then place the Adsense code between the div tag as shown below
<div class="google">
<!-- here you place the Google Adsense-code -->
</div>
this combination of <div>- tag+google code can then be placed on any line you want to have the vertical ads
right on top of page or below H2 or below a pic .. where ever you insert the div - there on same level ON THE RIGHT floating is the Google adsense
that saves the otherwise often used tables and creates only minimal work to add the Google Adsense-code to any number of pages any place you like - to the right ..