title: How to write inline styles in react
body: <p>whats wrong with this line?
    var firstColStyle = {text-align: right};</p>
  
  <p>This works:
    var firstColStyle = {width: 70};</p>
  
  <p>Seems to be a odd syntax for styles??
  The documentation about this issues is very poor.
  How to make elements reactive, so I can't use 20% instead of 300px.</p>
  
  <p>With best regards</p>
  
  <p>Gerhard</p>