Containers

Containers wrap content and control the maximum width of the page layout.

Fluid Container

A fluid container spans the full width of the viewport:

doc.Body.Page(page => {
    var container = new TablerContainer()
        .Fluid()
        .Add(new TablerText("Full width content"));
    page.Add(container);
});

Fixed Container

A fixed container has a maximum width centered in the page:

var container = new TablerContainer()
    .Add(new TablerText("Centered content"));
page.Add(container);