30 pixel space at the top of my home page.

Permalink
What could be causing the page view port start 30 pixels down from the start of the web page. I have eliminated all possible causes from my theme header.php and it still won't possession the view at the top of the page.

header-top.php
<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<!DOCTYPE html>
<html lang="<?php echo Localization::activeLanguage()?>">
    <head>
        <?php // echo $html->css($view->getStylesheet('main.less'))?>
        <?php Loader::element('header_required'); // , array('pageTitle' => $pageTitle));?>
        <link rel="stylesheet" type="text/css" href="<?php echo $view->getThemePath()?>/css/header.css">
    </head>
    <body>
    <div class="<?php echo $c->getPageWrapperClass()?>">


header.php
<?php defined('C5_EXECUTE') or die("Access Denied.");
$this->inc('elements/header_top.php');
?>
<header>
    <div class="container">
        <div class="header_logo" style="background-image: url(
         <?php echo $this->getThemePath() ?>/images/impossible-header-bkgnd900x400.jpg);" >
            <div class="site_name">
            <h1><?php echo Config::get('concrete.site');?></h1>
            <h2><a href="https://www.mc-hosts.com">Hosted by: MC Game Hosts</a></h2>
            <h3>Game URL = play.impossible.mc-game.us</h3>
            </div>
       </div>
    </div>
</header>


home.php
<?php defined('C5_EXECUTE') or die("Access Denied.");
$this->inc('elements/header.php'); ?>
   div id="main">
      <?php
      $a = new Area('Home');
      $a->display($c);
      ?>
    </div>
   <?=Loader::element('footer_required'); ?>
</body>
</html>


header,css
.header_logo {
   width: 900px;
   height: 400px;
   background-color: #6699aa;
/*   background-image: url("images/impossible-header-bkgnd900x400.jpg"); */
   margin: 0 auto;
}
.site_name {
   margin: 30px 100px 0;
   width: 780px;
}
.site_name h1 {
   margin: 0;
   color: yellow;
   text-shadow: 2px 2px 3px black;

ThomasJ
 
hutman replied on at Permalink Reply
hutman
Can you put a link to your site? It's much easier to find when you can look at the actual site.
ThomasJ replied on at Permalink Reply
ThomasJ
http://impossible.mc-game.us
hutman replied on at Permalink Best Answer Reply
hutman
Your .site_name has 30px margin on the top of it.
ThomasJ replied on at Permalink Reply
ThomasJ
Thanks, That's incredible. It shouldn't be doing that. Everything should be loading relative to it's container and not to the Document Window.