A CSS layout problem

Discussion in 'CSS' started by vprp, Mar 23, 2007.

  1. #1
    I have a golf forum at http://www.golfrewind.com

    If you go there and see the top leaderboard ad, you will see the bottom border of the ad doesn't show up. I can fix this when I place this code in the CSS:

    #sidebar h3, p {margin:0}

    The problem is, I'm working on a wiki for the site at http://www.golfrewind.com/wiki/

    If I place that code in the CSS, there will be no space between paragraphs. Is there another way to make it so there's a border around the leaderboard ad and keep spacing between paragraphs in MediaWiki?
     
    vprp, Mar 23, 2007 IP
  2. hamidof

    hamidof Peon

    Messages:
    619
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Wrapp it in a DIV (class="ad-wrapper") then do this:

    
    div.ad-wrapper h3, p {margin:0px}
    
    Code (markup):
     
    hamidof, Mar 23, 2007 IP