Example Image for Document Tree of blocks tag:
The "block"(header1, header2, menu, ...) is ordered from top to bottom of the site with "order" attribute. The width of body of blocks is equal "Template Width"
Blocks' name:
You can declare the same or diffirence names. You must use "content" tag and that is unique "content" tag to used.Attributes:
- Id attribute: This is id of div html tag. Don't declare coincided id.
- Order attribute: This attribute must be declared. It is used for ordering blocks follow increased arrangement. The ordering to show blocks is from top to bottom site.
- Autosize attribute: This attribute can be declared or not. It has two values: 0 and 1. The default value is "1". The block which can't calculate width of positions automaticlally will declare autosize="0".
- Offset attribute: If you want to calculate width of positions base on general width which is Layout width minus some quantities, you have to declare minus quantities by "offset" attribute.
E.g.: general width = 1024 – 50 --> declare: offset=”50px” - showDivTop attribute, showDivBottom attribute: These are two separate attributes of "content" tag. It has two values: 0 and 1. The default value is "0". Three html div tags is added "div#content" tag and they're used for template which has complicated style.
Example: