Can I use <div> on adsense unit?

Discussion in 'HTML & Website Design' started by moneyzeal, Sep 11, 2008.

  1. #1
    I am running adsense on my blog. As google says not to change their code, is it really safe to use some additional code to make my ads looks better?
     
    moneyzeal, Sep 11, 2008 IP
  2. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your not allowed to touch the actual code that Google provide you with, but you can add other code around it, like so,

    
    <div>
    ADSENSE CODE HERE
    </div>
    
    Code (markup):
     
    nicangeli, Sep 11, 2008 IP
  3. KyserSoze

    KyserSoze Member

    Messages:
    303
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    35
    #3
    What he said.
     
    KyserSoze, Sep 13, 2008 IP
  4. tjsocr22

    tjsocr22 Active Member

    Messages:
    1,251
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    80
    #4
    Yeah, I don't think you can put it directly in the code, but you can put it around it. You are using it to align the ads though right?
     
    tjsocr22, Sep 13, 2008 IP