title: Storing CSS in Database
body: <p>I'm looking to store CSS in a mySql database (LAMP setup). I'd like to do an input field with the following: </p>
  
  <pre><code>body{ background: url("http://google.com/image.jpg") no-repeat; color: orange; }
  #someDiv {width: 50%;}
  </code></pre>
  
  <p>... you get the idea. How would I best sanitize this data to allow it in the database? Thanks for the help, I can't seem to find a good solution on SO yet. </p>