Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Anton on Feb 05, 2009 01:56
open dhtmlx forum
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
Answer posted by Support on Feb 06, 2009 03:28
All works fine on our side.

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

If this not help please attach completed demo to reproduce the bug.
Answer posted on Feb 06, 2009 03:44
Thank you for your reply. I just added style that you spesified and it loks fine