How do I get text left beside the AdSense?

Use this forum to ask questions about how to do things with my MediaWiki Extensions.
Post Reply
User avatar
buzzom
Rank 0
Rank 0
Posts: 2
Joined: October 6th, 2009, 5:00 am

How do I get text left beside the AdSense?

Post by buzzom »

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
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?

Post by Paul »

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
buzzom
Rank 0
Rank 0
Posts: 2
Joined: October 6th, 2009, 5:00 am

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

Post by buzzom »

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
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?

Post by Paul »

Enable debug in css above and find out what takes space and why.........
User avatar
irydium
Rank 0
Rank 0
Posts: 2
Joined: June 20th, 2011, 6:12 pm

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

Post by irydium »

And how can you enable debug? can you explain it to me? because I have the same problem. Thank you! :)
Post Reply