title: modifying float with jquery not working
body: <p>I have this code:</p>
  
  <pre><code>if(scrollTop &lt; header.orgOffset) {
              document.getElementById('log').style.display = 'none';
              document.getElementById('lista').style.float = 'none';
              document.getElementById('lista').style.marginLeft = 'auto';
              header.element.css('background-color', 'transparent').css('width', '100%').css("box-shadow", "none").css('position', orgCSS.position).css('top','').prev().remove();
              if(i &gt; 0)
                  headers[i-1].element.css('z-index', 100);
          }
      }
  
      //stick headers
      for(i in headers) {
          var header = headers[i];
          //make sure any stuck headers are stuck in the right place(fast scrolling sometimes messes this up)
          if(isStuck(header))
              header.element.css('top','0')
  
          //skip this header if its bellow the top of the window
          if(scrollTop &lt; header.orgOffset - parseInt(orgCSS.height)) 
              break;
  
          //if the header is already stuck then ignore it            
          if(!isStuck(header)) {
              if(scrollTop &gt; header.orgOffset) {
                  //stick the header
                  document.getElementById('log').style.display = 'block';
                  document.getElementById('lista').style.float = 'left';
                  document.getElementById('lista').style.marginLeft = '20px';
                  header.element.css("left", "0px").css("box-shadow", "0 0 5px #000").css('background-color', '#FFF').css('width', '100%').css('position', 'fixed').css('z-index','100').css('top','0').before('&lt;div class=menu&gt; &lt;/div&gt;');
                  if(i &gt; 0)
                      headers[i-1].element.css('z-index', -1);
  </code></pre>
  
  <p>This works for sticky headers in my page. But modifying the float attribute to left and then back to none doesn't work in firefox. Everything else works fine, and it works fine in chrome, rockmelt and safari.</p>