Welcome to WebmasterWorld Guest from 174.129.163.89

Forum Moderators: incrediBILL & martinibuster

Message Too Old, No Replies

How I put adsense in the middle of my post?

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

New User

10+ Year Member

joined:Aug 13, 2005
posts:5
votes: 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
<snip>
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)

Senior Member from KZ 

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Jan 10, 2005
posts:2929
votes: 20


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
</div>

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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Mar 9, 2003
posts:2099
votes: 8


Also, you should specify the width of an element when you float it.
5:48 pm on Aug 13, 2005 (gmt 0)

Full Member

10+ Year Member

joined:Mar 4, 2005
posts:219
votes: 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">
<tr>
<td align="center">
<p align="center">
Put Google Ads Here
</p>
</td>
</tr>
</table>
</div>

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

Junior Member

10+ Year Member

joined:Jan 27, 2002
posts:55
votes: 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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Mar 9, 2003
posts:2099
votes: 8


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)

Junior Member

10+ Year Member

joined:Oct 5, 2004
posts:151
votes: 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)

New User

10+ Year Member

joined:Apr 27, 2005
posts:34
votes: 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)

New User

10+ Year Member

joined:Aug 13, 2005
posts:5
votes: 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)

Junior Member

10+ Year Member

joined:June 1, 2005
posts:117
votes: 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)

New User

10+ Year Member

joined:Aug 13, 2005
posts:5
votes: 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)

New User

10+ Year Member

joined:Aug 13, 2005
posts:5
votes: 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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Mar 9, 2003
posts:2099
votes: 8


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)

New User

10+ Year Member

joined:Aug 13, 2005
posts:5
votes: 0


ronin,thank you for helping me a big time!
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members