fluid.html 925 B

1234567891011121314151617181920212223
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Fluid Calendar - 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 Calendar</h2>
  14. <p>This example shows how to set the width of calendar to a percentage of its parent container.</p>
  15. <div style="margin:20px 0"></div>
  16. <div class="easyui-panel" style="width:700px;padding:10px">
  17. <p>width: 50%, height: 250px</p>
  18. <div class="easyui-calendar" style="width:50%;height:250px;"></div>
  19. <p>width: 30%, height: 40%</p>
  20. <div class="easyui-calendar" style="width:30%;height:40%;"></div>
  21. </div>
  22. </body>
  23. </html>