Results 1 to 4 of 4

Thread: space between banner and container problem

  1. #1
    Join Date
    Jan 2009
    Location
    NH
    Posts
    675
    Thanks
    98
    Thanked 26 Times in 26 Posts

    Question space between banner and container problem

    I just redesigned our non-profit website and have a problem. Right below my banner, there is a small space and then it appears the banner top is showing again above my text container. I was about to put a horizontal navigation bar below the banner and after doing this realized I had an error somewhere. How can I fix this? Thanks in advance.
    EDIT: here is the site http://ahepa215.org/



    What did I do wrong? Here is my css file

    Code:
    body {
      margin: auto;
      background-image : url(images/greekkey.gif);
      background-repeat : repeat;
      max-width : 870px;
    }
    
    #mainPicture {
      height : 170px;
      width : 870px;
      background-image : url(images/banner.png);
      padding-top: 10px;
      margin: 0;
    }
    
    .contentBox {
      font-family: sans-serif;color:navy;
      clear:both;
    }
    
    .innerBox {
      background-color : #ffffff;
      background-image : url(images/content_back.png);
      background-repeat : repeat-y;
      padding-top: 1em;
      padding-left: 1em;
      padding-right: 1em;
      padding-bottom : 1em;
    }
    
    #footer {
      background : url(images/footer.png) no-repeat;
      text-align : center;
      font-size : small;
      font-family : sans-serif;
      color : #010101;
      padding-top: 5px;
      padding-bottom: 5px;
    }
    #footer A {
      color : #010101;
    }
    here is the HTML

    Code:
    <!DOCTYPE HTML>
    <html><head>
    
    
      
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>AHEPA 215</title>
        <link rel="stylesheet" type="text/css" href="styles.css">
        
      <base href="http://ahepa215.org"></head><body>
    <div id="mainPicture"></div>
    
    <div class="contentBox">
    <div class="innerBox">
    <div class="contentText">
    
    <p>The Portsmouth Chapter #215 of the Order of AHEPA was founded on March 21, 1929, at which time the first meeting was held. On March 24, 1929 thirty four residents of Portsmouth and Dover were initiated into the Order.</p>
    
    <p>In November of 2004, the Portsmouth Chapter was formally incorporated in the State of New Hampshire. The new corporate name is Portsmouth AHEPA 215, which is non-for-profit corporation under IRS Section 501(c)(10).</p>
    
    <p>The chapters undertakings over the years have ranged from building floats for the annual Greek Indepedence Day parade in Boston to increasing financial support through out the Portsmouth area and the Metropolis of Boston.</p>
    
    <p>The AHEPA 215 started its annual golf outing in 1999 to enable to start funding its Scholarship Fund. This Scholarship Fund provides annual scholarships to Greater Portsmouth graduating High School Seniors whom have met three requirements, excellent grades, community service (at St Nicholas Greek Orthodox Church and within the community) and financial need.</p>
    
    <p>In 2008, through its fund raising efforts the chapter was able to create a new Charitable Endowment Fund, the income from this fund will be used to assist those in need throughout the Greater Portsmouth Area.</p>
    
    <p>The AHEPA 215 has 42 active members and is growing. You do not have to be Greek or an Orthodox Christian to join AHEPA, but you must believe in our mission and the promotion of Hellenism.</p>
    </div>
    </div>
    </div>
    </div>
    <div id="footer">Copyright &copy AHEPA 215</a> | <a href="mailto:ahepa215@gmail.com.com">E-Mail</a></div>
    </body></html>
    Last edited by mlegg; 01-28-2010 at 03:18 AM. Reason: resolved

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Change:
    Code:
    background-image : url(images/banner.png);
    To:
    Code:
    background : url(images/banner.png) no-repeat;
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    mlegg (01-28-2010)

  4. #3
    Join Date
    Jan 2009
    Location
    NH
    Posts
    675
    Thanks
    98
    Thanked 26 Times in 26 Posts

    Default

    Thank you very much. I'm still new at trying to get this down.

  5. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Glad to help you! Your welcome!

    It seems your topic is solved... Please set the status to resolved.. To do this:
    Go to your first post ->
    Edit your first post ->
    Click "Go Advanced" ->
    Then in the drop down next to the title, select "RESOLVED"
    Jeremy | jfein.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •