fluid.html 852 B

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Fluid Layout - jQuery EasyUI Demo</title>
  6. <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
  7. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  8. <link rel="stylesheet" type="text/css" href="../demo.css">
  9. <script type="text/javascript" src="../../jquery.min.js"></script>
  10. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  11. </head>
  12. <body>
  13. <h2>Fluid Layout</h2>
  14. <p>Percentage width of region panel in a layout.</p>
  15. <div style="margin:20px 0;"></div>
  16. <div class="easyui-layout" style="width:700px;height:350px;">
  17. <div id="p" data-options="region:'west'" title="West" style="width:30%;padding:10px">
  18. <p>width: 30%</p>
  19. </div>
  20. <div data-options="region:'center'" title="Center">
  21. </div>
  22. </div>
  23. </body>
  24. </html>