Forum Moderators: martinibuster

Message Too Old, No Replies

Blogger adsense

adsense blogger

         

prethip

3:32 pm on Apr 28, 2006 (gmt 0)

10+ Year Member



Hi,
i use adsense in my blogger.com account. I am not so good at css, hence this question. i signed up for a single line text ad with google. however it displays only on the top of the page. i looked in my css code and copy pasted the javascript that google gives me into the <--footer--> section of my blog.. and for some reason that totally screws up the CSS. can someone point me to a resource where i can display multiple instances of google ads on my page.. basically 1 for each post.

thanks,
madhu

Play_Bach

3:39 pm on Apr 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> basically 1 for each post.

You can't paste JavaScript into the GUI when making a post - the Blogger interface will just strip it. The place to put the code is in the template.

[edited by: Play_Bach at 3:50 pm (utc) on April 28, 2006]

prethip

3:40 pm on Apr 28, 2006 (gmt 0)

10+ Year Member



yes of course i did put it into the template... but where in the template is it allowed.

Play_Bach

3:46 pm on Apr 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try placing it after the profile:

<!-- End #profile -->

code somewhere in here

prethip

4:00 pm on Apr 28, 2006 (gmt 0)

10+ Year Member



nope.. its just screwing up the layout...
i even tried to put the thing inside a <p> </p> inside the footer but it doesnt work

Play_Bach

4:09 pm on Apr 28, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> nope.. its just screwing up the layout...

Works fine for me. Of course, if you're trying to use a 728 leaderboard or 728 horizontal link text in the sidebar (i.e. vertical) area, it's going to break the CSS. Hopefully, you're not trying to do that - right?

[edited by: Play_Bach at 4:16 pm (utc) on April 28, 2006]

prethip

4:13 pm on Apr 28, 2006 (gmt 0)

10+ Year Member



nope i am just using the 480X15 text on the footer...
check a sample on my personal blog.. <snip>

[edited by: trillianjedi at 4:31 pm (utc) on April 28, 2006]
[edit reason] Please see TOS #13 :) [/edit]

prethip

5:11 pm on Apr 28, 2006 (gmt 0)

10+ Year Member



sorry abt putting that URL.. just read the TOS...