title: setAttribute is not working for 'style' attribute on IE
body: <p>I'm porting a piece of JS code written for Firefox into Internet Explorer. I faced a problem of changing style of an element using <code>setAttribute</code> method which was working on Firefox.</p>
  
  <pre><code>button.setAttribute('style', 'float: right;');
  </code></pre>
  
  <p>I tried setting the style member of button and it didn't work either. This was the solution in case of setting <code>onclick</code> event handler.</p>
  
  <pre><code>button.style = 'float: right;';
  </code></pre>
  
  <p>First I wanna know the solution for the above problem and<br>
  Second are there any maintained lists for these differences between browsers ?</p>