title: User defined CSS / Styles
body: <p>We are looking into providing users of our application the ability override the default site CSS.</p>
  
  <p>Currently they can choose a site theme but it would be nice to allow them to change properties such as background color, font color, font face etc.</p>
  
  <p>I'm torn between giving each site a "user defined" stylesheet that can be edited from the administration area or providing some kind of CSS builder.</p>
  
  <p>The first option provides the most flexibility but could also be the most problematic and requires the user to have some basic understanding of CSS.</p>
  
  <p>So aside from the obvious, (which is the best solution?) I have a few additional questions:</p>
  
  <p>User Defined Css:
  Is there a web based CSS editor available?
  Is there a server side (.net) CSS validator available (for verifying the css the user enters)</p>
  
  <p>Css Builder:
  Is there a web based CSS builder already available?
  What is the best way of generating the CSS based on the rules provided by the user (I thought about using some kind of templating engine to do this (NVelocity, Razor etc.)?</p>
  
  <p>Thanks</p>
  
  <h3>Solution</h3>
  
  <p>I've added an answer <a href="https://stackoverflow.com/questions/5922736/user-defined-css-styles/6200738#6200738">below</a> with the solution we went for.</p>