Why is my header reigion being pushed down

My header area/div with the banner is being pushed down about 10 pixels in this website .....  cocktailcornerband.com

When I created the layout with CSS I placed the header div at the beginning of wrapper div and it was correctly placed at the very top of the wrapper. However, somewhere in the design process this error occurred. I cannot see how this is happening.

All pages are produced from a template. I have enclosed the code for the template and 3 css files
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- TemplateEndEditable -->
<link href="../_css/main_layout.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!--[if IE 5]>
<style type="text/css"> 
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixLtHdr #sidebar1 { width: 230px; }
<!--[if IE]>
<style type="text/css"> 
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixLtHdr #sidebar1 { padding-top: 30px; }
.twoColFixLtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
<script type="text/javascript" src="../p7mbm/p7MBscripts.js"></script>
<link href="../p7mbm/p7MBM01v.css" rel="stylesheet" type="text/css" media="all" />
<link href="../_css/Styles.css" rel="stylesheet" type="text/css" /></head>
<div class="p7MBfirst" id="wrapper">
  <div id="header">
    <p><img src="../clipart/cocktail.gif" width="940" height="88" /></p>
  <div id="mainBody"><!-- TemplateBeginEditable name="EditRegion1" -->
    <p>Text information space</p>
  <!-- TemplateEndEditable --></div>
  <p class="yellowTextCentIndent">Last Update:<br />
    1st October 2011
  <div id="sidebar">
    <div id="p7MBM_1" class="p7MBM01v">
        <li><a href="../index.html">HOME PAGE</a></li>
        <li><a href="../docs/gallery.html">GALLERY</a></li>
        <li><a href="../docs/setlist1.html">SETLIST 1</a></li>
        <li><a href="../docs/setlist2.html">SETLIST 2</a></li>
        <li><a href="../docs/videos.html">VIDEO</a></li>
        <li><a href="../docs/packages.html">PACKAGES</a></li>
        <li><a href="../docs/contact.html">CONTACT</a></li>
        <li><a href="../docs/links.html">LINKS</a></li>
      <!--[if lte IE 6]>
<style>.p7MBM01v li, .p7MBM01v li a {height: 1%;}</style>
      <script type="text/javascript">
    <p><img src="../pics/groupt_humb.jpg" width="130" height="80" /></p>
  <div id="footer"><a href="../index.html" class="justYellow">GO TO HOME PAGE</a>&nbsp;&nbsp; |&nbsp; &nbsp;&copy; Corner Cocktail Band 2011</div>

Open in new window

LVL 24
EirmanChief Operations ManagerAsked:
Who is Participating?
jtwcsConnect With a Mentor Commented:
There is a <p> tag wrapped around the image in the header.  If you remove it, the space will go away.

<div id="header">
    <p><img src="../clipart/cocktail.gif" width="940" height="88" /></p>
Andrew DerseConnect With a Mentor IT ManagerCommented:
Change main-layout.css line 20:


margin: 0;


margin-top: -15px;

Also, I would check into Firebug if I were you.  It's a plugin for Mozilla Firefox that allows you to modify css code directly in the browser so you can see that changes you need to make...
Andrew DerseIT ManagerCommented:
jtwcs's comment works as well...remove the <p> tag...why is it there?
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Inside your header, you have your image, which is wrapped inside a <p> tag.  Eliminate the <p> tags and see if that helps.
<div id="header">
    <img src="../clipart/cocktail.gif" width="940" height="88" />

Open in new window

EirmanChief Operations ManagerAuthor Commented:
Thanks jtwcs .... that worked perfectly!

I'll give you your 2000 points after midnight which will be a good start to your October quota.
EirmanChief Operations ManagerAuthor Commented:
Wow ... I didn't expect more comments and another solution!

Will assign points after midnight
EirmanChief Operations ManagerAuthor Commented:
Many To Thanks Everyone
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.