Facing Problem in putting multiple ads units beside each others? I had to face same problem when i was putting three adsense link units next to each other in my job portal.
In my job portal www.employment-news.net i had to put three link units next to each other but there was a biggest problem that was when i put three codes one by one the ads were appearing vertically one above.
Then i used some pieces of codes and put adsense units with that pieces of codes i successfully added three adsense unit next to each other horizontally. In this article i gonna sharing the method i used to put adsense units horizontally next to each other. Follow the steps.
Step-1 First of all Generate a New adsense unit by logging in to adsense account or use old adsense units according to available width of your template.
Step-2 Now Put The Adsense code with the below piece of code.
In my job portal www.employment-news.net i had to put three link units next to each other but there was a biggest problem that was when i put three codes one by one the ads were appearing vertically one above.
Then i used some pieces of codes and put adsense units with that pieces of codes i successfully added three adsense unit next to each other horizontally. In this article i gonna sharing the method i used to put adsense units horizontally next to each other. Follow the steps.
Step-1 First of all Generate a New adsense unit by logging in to adsense account or use old adsense units according to available width of your template.
Step-2 Now Put The Adsense code with the below piece of code.
<div style="float:left;">The above code is written to put two adsense units next to each other.If you want to add three adsense units next to each other then you can edit the above code by putting some extra lines of code.See below code.
<!-- Ad1 -->
</div>
<div style="float:right;">
<!-- Ad2 -->
</div>
<div style="float:left;">Final Words: Some times doing this you may get error at that time you can delete the characters highlighted with red mark in above code In my case i got error then i removed that element and saved my code.
<!-- Ad1 -->
</div>
<div style="float:centre;">
<!-- Ad2 -->
</div>
<div style="float:right;">
<!-- Ad3 -->
</div>