title: ID class CSS files
body: <p>I'm having some difficulty with css and need some advice regarding classes and ID;s
  I have two CSS files being called, one for <strong>STYLING</strong> and one for <strong>DIV DIMENSIONS</strong> </p>
  
  <p>let's assume I have the following HTML header:</p>
  
  <p>HTML </p>
  
  <pre><code>&lt;div id="header" class="section"&gt; 
  </code></pre>
  
  <p>CSS found in dimensions file </p>
  
  <pre><code>.section { 
      padding: 0px;
      margin: 0;
      width: 100%;
      clear: both;
  }
  </code></pre>
  
  <p>CSS found in STYLING file</p>
  
  <pre><code>#header {   
      min-width: 50em;
      height: auto;
      overflow: hidden;
      background: #000; 
  }
  </code></pre>
  
  <p>Are the following assumptions correct?</p>
  
  <p>1) I assume a COMBINATION of the class and ID styles will apply to the header. however, the styles in the ID selector will take  precedence due to Specificity?
  Therefore, if i define a width in the ID css, this will trump the 'class' css. </p>
  
  <p>2) I assume you can use a combination of both class in css?</p>
  
  <p>Many thanks,
  Pete</p>