DIV / SPAN width question..

Discussion in 'CSS' started by Cartman, Jun 6, 2007.

  1. #1
    Real simple problem that I need some help with..

    I've got a blogger site that I want to display a 468x60 AdSense box on. However, the div that the ad resides in only has a width of 465, and as such, it's throwing off the sidebar and making a mess.

    Is there a way I can encapsulate the AdSense ad in a 465px block using CSS, and just have the other 3px not displayed? I've been playing with different code for about an hour, and haven't had much luck.

    (Site in question is http://letswrestle.blogspot.com, and I switched it to a 234x60 ad in the meantime so it wouldn't screw up the sidebar any longer)

    Thanks!
     
    Cartman, Jun 6, 2007 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can try setting a relative position and a z-index on the DIV, but other than that, you'd have to resort to changing the size of the sibling container the DIV is being floated against (and no, I didn't look at your site - I have way too many tabs open right now).
     
    Dan Schulz, Jun 6, 2007 IP