title: jQuery - change style of uncreated div elements
body: <p>I was trying to <em>searchengine</em> for this, but I'm not sure how to call it exactly.</p>
  
  <p>I can change the style of my div elements successfuly, for example:</p>
  
  <pre><code>$(document).ready($('div.element1').css("float", "left"));
  </code></pre>
  
  <p>This will successfully change all the elements of class <code>element1</code> that exist. However, the new (after above is executed) elements will still spawn with old option of <code>float: right;</code>. What is my best/simplest option for permanently changing the style of this <code>div</code>? I can inject it manually after the element is created but that feels wrong to be honest.</p>