title: dynamic CSS in JSF
body: <p>I read <a href="http://commoninterview.com/Programming_Interview_Questions/what-is-dynamic-css-1/" rel="nofollow">this</a> article about dynamic CSS.</p>
  
  <p>I would like to <strong>generate</strong> CSS based on db parameters.</p>
  
  <p>Something similar to <code>&lt;link rel="stylesheet" href="mydynamicCss.ashx?cssCode=mainPage" type="text/css"/&gt;</code></p>
  
  <p>What is the best way to implement it in JSF?</p>
  
  <p>I am using JSF2.0</p>