title: How to set different body background color for different pages in one css files?
body: <p>I have a few pages. page1 <code>&lt;body id="page1"&gt;</code>, page2 <code>&lt;body id="page2"&gt;</code>, page3 <code>&lt;body id="page3"&gt;</code> then I want write all the css rules in one css file 'style.css', set page1 background color:#000; page2 background color:#fff; page3 background color:#00f;</p>
  
  <pre><code>body #page1{background-color:#000;}
  body #page2{background-color:#fff;}
  body #page3{background-color:#00f;}
  </code></pre>
  
  <p>but it is wrong, how to write correctly? thanks.</p>