title: Javascript generated calendar showing different in mozilla firefox and chrome
body: <p>I make custom calendar in javascript.</p>
  
  <p>In firefox (1st image) calendar is properly generated, but in chrome (2nd image) is "upside-down".</p>
  
  <p><img src="https://i.stack.imgur.com/36HIA.jpg" alt="In Firefox"></p>
  
  <p><img src="https://i.stack.imgur.com/ESUPm.jpg" alt="In Google Chrome"></p>
  
  <p>There is <a href="http://jsfiddle.net/2mhrvsob/" rel="nofollow noreferrer"><code>JSFiddle example</code></a></p>
  
  <p>Can anyone tell me why this happening?</p>
  
  <p>In fiddle example I put button, and calendar is genereting, in some div, but in my webapp, instead in div (<code>document.getElementById('cntcal').appendChild(tbl);</code>), calendar is generated in form (<code>document.form[0].appendChild(tbl);</code>).</p>
  
  <p>p.s. sorry for weak English, I hope you people will understand problem.</p>