style.css
#container {
background: url(images/header.png) top repeat-x; color: black;
padding: 0 0 31px 0;
}
#header {
width: 961px; margin: 0 auto; position: relative;
overflow: hidden;
}
header.php
<div id="container">
<div id="header">
<ul id="nav">
<li><?php wp_list_pages('sort_column=menu_order&title_li='); ?></li>
</ul>
<ul id="topcorner">
<li><a href="#">Career</a> | <a href="#">Mail</a></li>
</ul>
<div id="search"><?php include('search.php'); ?></div>
<div id="banner">
<img src="<?php echo get_stylesheet_directory_uri(); ?>/images/banner.png" />
<img src="<?php echo get_stylesheet_directory_uri(); ?>/images/bannerside.png" />
</div>
</div>
I would like a header in the middle with black color header background on it's left and right.
#container {
background: url(images/header.png) top repeat-x; color: black;
padding: 0 0 31px 0;
}
If I delete the top repeat-x; then the header will fill the whole website. I would like just a header with black color header background on it's left and right.
How to do so?