title: css which depends on a div tag value
body: <p>I am developing a website which uses SQL and php to generate a div block. This div block will have an associated number (the range of which will probably be 1 - 100). I need the CSS to display the div element in relation to the associated number (e.g. the associated number is the margin-left % value). </p>
  
  <p>How do I do this?</p>
  
  <p>Thanks</p>