halign.html 1.0 KB

1234567891011121314151617181920212223242526
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Panel Header Alignment - 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>Panel Header Alignment</h2>
  14. <p>The panel header can be aligned horizontally or vertically.</p>
  15. <div style="margin:20px 0 10px 0;">
  16. </div>
  17. <div class="easyui-panel" title="Head on Top" style="width:700px;height:120px;">
  18. </div>
  19. <div style="margin-bottom:10px"></div>
  20. <div class="easyui-panel" title="Head on Left" halign="left" titleDirection="up" style="width:700px;height:120px;">
  21. </div>
  22. <div style="margin-bottom:10px"></div>
  23. <div class="easyui-panel" title="Head on Right" halign="right" style="width:700px;height:120px;">
  24. </div>
  25. </body>
  26. </html>