a bit to the left

Discussion in 'CSS' started by xxMirceaxx, Nov 18, 2007.

  1. #1
    I put adsense backgrounds on Tech Narf, but they have to be moved a bit to the left. I have no clue! :)
    Can anyone with a big heart help?
     
    xxMirceaxx, Nov 18, 2007 IP
  2. Noddegamra

    Noddegamra Peon

    Messages:
    1,013
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #2
    With your css code:

    #ad_code3 { width:225px; padding:12px 20px 23px 10px; background:transparent url(img/shuffled200.jpg) center center no-repeat; text-align:center; }
    Code (markup):
    Have you tried..

    #ad_code3 { width:225px; padding:12px 20px 23px 0px; }
    Code (markup):

    .. or removing that div code from your google adsense code altogether

    ?? :)
     
    Noddegamra, Nov 19, 2007 IP
  3. xxMirceaxx

    xxMirceaxx Well-Known Member

    Messages:
    917
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    135
    #3
    i want to keep the backgrounds!
     
    xxMirceaxx, Nov 19, 2007 IP
  4. Noddegamra

    Noddegamra Peon

    Messages:
    1,013
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Then just change this part:

    padding:12px 20px 23px [B]10px[/B];
    Code (markup):
    to

    padding:12px 20px 23px [B]0[/B]px;
    Code (markup):
     
    Noddegamra, Nov 20, 2007 IP
    xxMirceaxx likes this.
  5. Crimsonc

    Crimsonc Peon

    Messages:
    616
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Your adsense is wider than your sidebar, simple as that. Widen your sidebar or use a slimmer adsense advert.

    Adsense width: 225px

    Sidebar width: 200px
     
    Crimsonc, Nov 21, 2007 IP