EasyUI Forum

General Category => Bug Report => Topic started by: ClSoft on February 02, 2013, 05:32:51 AM



Title: Layout bug
Post by: ClSoft on February 02, 2013, 05:32:51 AM
Hi
please see attached page, it is simple page contain Layout.
When I click 10 times on reload page (in Google chrome only) 1-2 times page is not displayed, only empty screen.
Why?
Thanks.


Title: Re: Layout bug
Post by: stworthy on February 03, 2013, 04:45:42 AM
You are missing closing div tag when declaring layout. Please try the code below:
Code:
<!DOCTYPE html>  
<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css">
<script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
</head> 
<body> 
    <div class="easyui-layout"  fit="true">   
    <div region="west" split="true" title="A" style="width:250%;padding:5px;">  </div>   
    <div region="south" split="true" Title="B" style="height:250%;padding:5px"> </div>   
    <div region="center" title="C" style="padding:5px;"></div>
    </div>
</body> 
</html> 


Title: Re: Layout bug
Post by: ClSoft on February 03, 2013, 07:03:12 AM
Thanks and sorry!