dhtmlxWindows maximize() isn't fully maximizing

This code below maximizes the window but it’s approx 10px short on width and height - so you can see the background color on the right and on the bottom of the browser window (Chrome, Firefox & IE).

Additionally, the header has a line running through the middle of it across the window. The headers starts top left, as expected. However, the line (which could be a border) seems to start approx 10px in from the left and ends approx 10px short on the right.

<script type="text/javascript" src="js/dhtmlxcommon.js"></script>
<link rel="stylesheet" type="text/css" href="js/dhtmlxWindows/dhtmlxwindows.css"> 
<link rel="stylesheet" type="text/css" href="js/dhtmlxWindows/skins/dhtmlxwindows_dhx_blue.css"> 
<script type="text/javascript" src="js/dhtmlxWindows/dhtmlxwindows.js"></script> 
<script type="text/javascript" src="js/dhtmlxWindows/dhtmlxcontainer.js"></script> 
<link rel="stylesheet" type="text/css" href="js/dhtmlxLayout/dhtmlxlayout.css">
<link rel="stylesheet" type="text/css" href="js/dhtmlxLayout/skins/dhtmlxlayout_dhx_skyblue.css">
<script type="text/javascript" src="js/dhtmlxLayout/dhtmlxlayout.js"></script>
<script type="text/javascript" src="js/dhtmlxLayout/dhtmlxcontainer.js"></script>
<body bgcolor=pink>
<script type="text/javascript">
window.onload = function() {
	var dhxWins = new dhtmlXWindows();
	dhxWins.setViewport(50, 0, 100, 100, document.body);
	dhxWins.vp.style.border = "#909090 1px solid";
	W1 = dhxWins.createWindow("W1", 0, 0, 200, 200);
	W1.setText("Here's the header");

	var L1 = W1.attachLayout("2U");

It seems that you didn’t define skin (you have included dhtmlxwindows_dhx_blue.css):

However, possibly it would be better to use identical skins for layout and window:

If the problem still occurs, please provide the complete sample.

Excellent. Thank you.