I am trying to make my logo center using the following codes..
It is in the header-container.
<div class="header-container">
    <div class="header">
    <h2 class="logo">
        <a href="www.www.com" title="scorpia" class="logo">
             <img src="headerbg.jpg" alt="scorpia">
        </a>
    </h2>
    </div>
</div>
.logo {}
.header-container {}
.header {  
    margin:0 auto; 
    padding:0px; 
    text-align:center; 
    position:relative; 
    z-index:10;
}
.header .logo { 
    display:block; 
    text-decoration:none !important; 
}
.header .logo strong { 
    position:relative; 
    top:-999em; 
    left:-999em; 
    width:0; 
    height:0; 
    font-size:0; 
    line-height:0; 
    text-indent:-999em; 
    overflow:hidden; 
}
.header h1.logo, .header h2.logo { 
    margin:0; 
}
This is the result I am getting.. As you can see it is a little towards the right 
Anyone know how could I fix this?
 
     
     
    