Chapter 3: User Interface and Layout

From Documentation


Design the Layout

Building an application usually starts from building user interface, and building user interface usually starts from designing the layout. ZK provides various component for different layout requirement, and you can even configure a component's attribute to

Layout Requirement

Tutorial-ch3-page-layout.png

describe the layout


  • create components in zul
  • what is layout component [link] what they used for
  • some layout only in PE, EE

Apply CSS

2 ways to set

  • style
  • sclass

2 ways to declare CSS class

  • <style>
  • <?link ?>


Include a Separate Page

Craft View with Components

Footer

Sidebar