title: Set Background of a <frame> with css
body: <p>Is it possible to set the background color of frames (I know, the assignment asks for it) using a single CSS instead of doing one for each frame. The assignment specifically asks for the use of CSS intead of  tags. I have tried the following:</p>
  
  <pre><code>&lt;frameset.........&gt;
    &lt;frame src="frames/leftframe.htm" class="LeftFrame" name="leftframe" noresize&gt;
    &lt;frame.......&gt;
    &lt;frame.......&gt;
  &lt;/frameset&gt;
  </code></pre>
  
  <p>I have page called leftframe.htm, with:</p>
  
  <pre><code>&lt;html&gt;
    &lt;link rel="stylesheet" type="text/css" href="../styles/allframes.css"&gt;
    &lt;body&gt;
      &lt;p&gt;..........&lt;/p&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The style-sheet allframes.css has:</p>
  
  <pre><code>.LeftFrame
  {
     background-color:#b0c4de;
  }
  </code></pre>
  
  <p>I have not been able to get this to work. I am able to set the background-color per frame, as long as I have a separate style-sheet. If this is not possible I will just make separate style-sheets for each frame.</p>