dc.Band

The <dc.Band> tag represents a container for content in the main page layout. It is also a horizontal section of the page from the left most side of the window to the right most. It can be used for providing stripes of background color.

Attributes

  • Pad: how much padding to use inside the container. Values are: None, Small, Medium, Large, Extra - or custom padding defined by your template.

  • Width: How wide is the container. Values are: Full (aka None), Wide, Medium, Narrow - or custom widths defined by your template.

Usage Notes

TODO notes about layout

Examples

<dc.Html Skeleton="template-name"> <dc.Body> <dc.Band class="purple" Width="Medium"> <p>content w/ custom purple background</p> </dc.Band> <dc.Band class="blue" Width="Medium"> <p>content w/ custom blue background</p> </dc.Band> <dc.Band class="green" Width="Medium"> <p>content w/ custom green background</p> </dc.Band> </dc.Body> </dc.Html>

Output not applicable.

See Also