homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

How I put adsense in the middle of my post?

 3:09 pm on Aug 13, 2005 (gmt 0)

I want to put adsense right among the text of my post.
I use blogspot by the way.
Please help me!
The effect is like the adsense
Thank you!

[edited by: Jenstar at 7:37 pm (utc) on Aug. 13, 2005]
[edit reason] No URLS as per TOS, please! [/edit]



 4:10 pm on Aug 13, 2005 (gmt 0)

valorben, first of all welcome to WebmasterWorld!

You need some CSS to do this. The easiest way is to put a div around your AdSense code. For example:

<div style="float: left;">
Here your AdSense script

This should do the trick. You could also use "float: right" to put the AdSense block on the other side of the page.


 5:37 pm on Aug 13, 2005 (gmt 0)

Also, you should specify the width of an element when you float it.


 5:48 pm on Aug 13, 2005 (gmt 0)

Just put them in a table and stick it wherever you want it to appear.

<div align="center">
<table border="0" cellpadding="0" align="left">
<td align="center">
<p align="center">
Put Google Ads Here


 6:06 pm on Aug 13, 2005 (gmt 0)

Do a search for an Adsense plugin for blogspot so you don't have to clutter your posts with so much code.


 7:00 pm on Aug 13, 2005 (gmt 0)

With respect to WallyWorld, I'd go with lammert's suggestion.

Errm... WW, I don't know how to say this to you but that <table align="left"> stuff is seriously deprecated. You are slowing your pages down and limiting your creativity with this kind of code. Not to mention giving yourself extra work. Using CSS instead will free you up in at least three ways!


 7:29 pm on Aug 13, 2005 (gmt 0)

The way to ad adsense to blogspot blogs is by putting the code into the template, not the individual posts.

Blogspot does not allow you to insert javascript into posts.


 8:25 pm on Aug 13, 2005 (gmt 0)

estaquieto: Can you send me a sticky mail with the url where i can finf that plugin?


 8:53 am on Aug 14, 2005 (gmt 0)

WallyWorld, Thanks for the tip. It works like a charm. Now my post entry is inline with my adsense. My blog is [newsgator-herald.blogspot.com....] You can check how it looks.


 8:55 am on Aug 14, 2005 (gmt 0)

I'd take that URL out again..... didn't you notice it had been removed as per the TOS for this board the first time?


 8:56 am on Aug 14, 2005 (gmt 0)

ronin,could you please tell me how you manage it with CSS.
Cause I'm Css Novice. I really want to learn about the best solution! Thank you!


 8:58 am on Aug 14, 2005 (gmt 0)

I didn't know. Sorry about that. Maybe I need to check the forum rules.


 12:20 pm on Aug 14, 2005 (gmt 0)

valorben, head on over to Forum 83 [webmasterworld.com] for lots of helpful tips and advice about how you can learn CSS and what you can do with it.

Some of the people there (not me) number amongst the most highly qualified CSS designers on the planet.

I first dipped my toe in the water in August 2003 and have been in love with it ever since.


 12:19 am on Aug 15, 2005 (gmt 0)

ronin,thank you for helping me a big time!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved