How do I get text left beside the AdSense?

Use this forum to ask questions about how to do things with my MediaWiki Extensions.

How do I get text left beside the AdSense?

Postby buzzom » October 6th, 2009, 5:06 am

Hello,

I have put an AdSense into my Wiki with <google uid="C01" position="right"></google>
Everything works fine so far, as the AdSense is on the right side.

Unfortunately the text is not left beside it, but above and under it. Example: http://symptomat.de/Erk%C3%A4ltung

How can I change the code that the text is left beside the AdSense? Or in other words, I want the AdSense on the right-top edge of the page.

Thank you every much.
Buzzi
User avatar
buzzom
Rank 0
Rank 0
 
Posts: 2
Joined: October 6th, 2009, 5:00 am

Re: How do I get text left beside the AdSense?

Postby Paul » October 6th, 2009, 10:51 pm

There is CSS file GoogleAdSense.css, customize it and make it float to the right.

This also depends on your ads type and size.........
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How do I get text left beside the AdSense?

Postby buzzom » October 7th, 2009, 9:34 am

I have changed like this:
Code: Select all
.googleAdSenseContent {
   border: 0px solid #eee; /*debug*/
   padding: 1px;
   margin: 10px auto; /* centerred on the page  */
   background: #fff;
   float: right;
}


I use a
Code: Select all
'C01' => array('unitID' => 'myID', 'width' => '336', 'height' => '280', 'position' => 'none'),

large rectangle.

I included it into my wiki with
Code: Select all
<google uid="C01" position="right"></google>


However the text will not be on the left side of the adsense.

Do you know my mistake or have another solution?

Thank you so much.
Eric
User avatar
buzzom
Rank 0
Rank 0
 
Posts: 2
Joined: October 6th, 2009, 5:00 am

Re: How do I get text left beside the AdSense?

Postby Paul » October 7th, 2009, 6:14 pm

Enable debug in css above and find out what takes space and why.........
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: How do I get text left beside the AdSense?

Postby irydium » June 20th, 2011, 6:13 pm

And how can you enable debug? can you explain it to me? because I have the same problem. Thank you! :)
User avatar
irydium
Rank 0
Rank 0
 
Posts: 2
Joined: June 20th, 2011, 6:12 pm


Return to MediaWiki Extensions 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron