For my website, I want to create a header that spans the entire width of the browser. Currently, all my content is contained within a wrapper div with a set width of 990px. The header should have a fixed position as well. However, when I try to adjust the CSS for the header, the title and navigation bar end up stacking vertically instead of remaining side by side.
<body>
<div class="wrapper">
<header class="header">
<h1>Automotive Industries</h1>
<ul class="navbar">
<li id="contact" class="navlist"><a href="http://www.google.com">Contact</a></li>
<li class="navlist"><a href="http://www.google.com">Services</a></li>
<li class="navlist"><a href="http://www.google.com">About</a></li>
<li class="navlist"><a href="http://www.google.com">Home</a></li>
</ul>
</header>
<div class="main">
<p>Welcome to the #1 stop in automotive today</p>
<div class="article">
<img class="image" src="http://cdnedge.vinsolutions.com/dealerimages/Dealer%204697%20Images/content/car-tire-repair.jpg">
</div>
<!-- more content -->
</footer>
</div><!--end of wrapper-->