Forum Moderators: martinibuster

Message Too Old, No Replies

Ok to place adsense code between div tags?

to add style?

         

born2run

8:14 pm on Aug 28, 2006 (gmt 0)

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



Hi is it ok to add adsense code between DIV tags to add style / format or it's prohibited? I'm asking because I know the code itself can't be edited/changed but I'm wondering if the same can be enclosed between <div class="something"> ..code here </div>

Thanks!

MarkJH

9:53 pm on Aug 28, 2006 (gmt 0)

10+ Year Member



I guess it depends on what you want to do with it. There's nothing wrong with putting the script in a div or a table if you just want to center or position the code.

Anyway, is there anything you can do with a div that could override a script?

JinxBoy

6:27 am on Aug 29, 2006 (gmt 0)

10+ Year Member



Yes there is, but the TOS is quite obvious in what's allowed and what's not...

vincevincevince

7:12 am on Aug 29, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The adsense code is loaded in an IFRAME and as such you can't (to my knowledge) alter it using a DIV or CSS (without changing the adsense code itself).