Width in Safari and Chrome

We used dhtmlxLayout in fullscreen mode. When page loaded layout not fit to the whole window width, we can see a margin from right side. When we resize this window it start looks Ok. Could you help me to define the probem? How can I fix it to show correctly immediatle after page loaded? Browsers are Safari for Windows version. 3.1.2, Google Chrome version 1.0.154.43

All works fine on our side.

1. Please specify used doctype.
2. Add the following style to index page:
   
        html, body { width: 100%; height: 100%; margin: 0px; overflow: hidden; }
   

If this not help please attach completed demo to reproduce the bug.

Thank you for your reply. I just added style that you spesified and it loks fine