title: How to change header and footer to full width
body: <p>I generated a default template provided by dreamweaver for HTML5. Here it is <a href="http://jsfiddle.net/9XFEB/" rel="nofollow">http://jsfiddle.net/9XFEB/</a> . I wan to change the header and footer to full width. If i give auto property the footer disappears. Help me find out what I am missing.</p>
  
  <pre><code>&lt;body&gt;
  
  &lt;div class="container"&gt;
    &lt;header&gt;
      &lt;a href="#"&gt;&lt;img src="" alt="Insert Logo Here" width="180" height="90" id="Insert_logo" style="background-color: #C6D580; display:block;" /&gt;&lt;/a&gt;
    &lt;/header&gt;
    &lt;div class="sidebar1"&gt;
      &lt;ul class="nav"&gt;
        &lt;li&gt;&lt;a href="#"&gt;Link one&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Link two&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Link three&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="#"&gt;Link four&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
      &lt;aside&gt;
        &lt;p&gt; The above links demonstrate a basic navigational structure using an unordered list styled with CSS. Use this as a starting point and modify the properties to produce your own unique look. If you require flyout menus, create your own using a Spry menu, a menu widget from Adobe's Exchange or a variety of other javascript or CSS solutions.&lt;/p&gt;
        &lt;p&gt;If you would like the navigation along the top, simply move the ul to the top of the page and recreate the styling.&lt;/p&gt;
      &lt;/aside&gt;
    &lt;!-- end .sidebar1 --&gt;&lt;/div&gt;
    &lt;article class="content"&gt;
      &lt;h1&gt;Instructions&lt;/h1&gt;
      &lt;section&gt;
       &lt;h2&gt;How to use this document&lt;/h2&gt;
        &lt;p&gt;Be aware that the CSS for these layouts is heavily commented. If you do most of your work in Design view, have a peek at the code to get tips on working with the CSS for the fixed layouts. You can remove these comments before you launch your site. To learn more about the techniques used in these CSS Layouts, read this article at Adobe's Developer Center - &lt;a href="http://www.adobe.com/go/adc_css_layouts"&gt;http://www.adobe.com/go/adc_css_layouts&lt;/a&gt;.&lt;/p&gt;
      &lt;/section&gt;
      &lt;section&gt;
        &lt;h2&gt;Clearing Method&lt;/h2&gt;
        &lt;p&gt;Because all the columns are floated, this layout uses a clear:both declaration in the footer rule.  This clearing technique forces the .container to understand where the columns end in order to show any borders or background colors you place on the .container. If your design requires you to remove the footer from the .container, you'll need to use a different clearing method. The most reliable will be to add a &amp;lt;br class=&amp;quot;clearfloat&amp;quot; /&amp;gt; or &amp;lt;div  class=&amp;quot;clearfloat&amp;quot;&amp;gt;&amp;lt;/div&amp;gt; after your final floated column (but before the .container closes). This will have the same clearing effect. &lt;/p&gt;
      &lt;/section&gt;
      &lt;section&gt;
        &lt;h2&gt;Logo Replacement&lt;/h2&gt;
        &lt;p&gt;An image placeholder was used in this layout in the header where you'll likely want to place  a logo. It is recommended that you remove the placeholder and replace it with your own linked logo. &lt;/p&gt;
        &lt;p&gt; Be aware that if you use the Property inspector to navigate to your logo image using the SRC field (instead of removing and replacing the placeholder), you should remove the inline background and display properties. These inline styles are only used to make the logo placeholder show up in browsers for demonstration purposes. &lt;/p&gt;
        &lt;p&gt;To remove the inline styles, make sure your CSS Styles panel is set to Current. Select the image, and in the Properties pane of the CSS Styles panel, right click and delete the display and background properties. (Of course, you can always go directly into the code and delete the inline styles from the image or placeholder there.)&lt;/p&gt;
      &lt;/section&gt;
    &lt;!-- end .content --&gt;&lt;/article&gt;
    &lt;aside&gt;
      &lt;h4&gt;Backgrounds&lt;/h4&gt;
      &lt;p&gt;By nature, the background color on any block element will only show for the length of the content. If you'd like a dividing line instead of a color, place a border on the side of the .content block (but only if it will always contain more content).&lt;/p&gt;
    &lt;/aside&gt;
    &lt;footer&gt;
      &lt;p&gt;This footer contains the declaration position:relative; to give Internet Explorer 6 hasLayout for the footer and cause it to clear correctly. If you're not required to support IE6, you may remove it.&lt;/p&gt;
      &lt;address&gt;
        Address Content
      &lt;/address&gt;
    &lt;/footer&gt;
    &lt;!-- end .container --&gt;&lt;/div&gt;
  &lt;/body&gt;
  </code></pre>