1. display: inline
Prev | Chapter 7. Display values supported for generated content | Next

## 1. display: inline

Displays supported for :before and :after generated content:

- display: inline. Supported layouts:

  - list.

        b.iil:before,
        b.iil:after {
            display: inline;
            content: icon(right) "generated content" icon(left);
            color: navy;
        }

  - paragraph.

        b.iip:before,
        b.iip:after {
            display: inline;
            content: paragraph(content(icon(right), "generated content", icon(left)),
                               border-width, 1,
                               border-style, solid);
            color: navy;
        }

  - division.

        b.iid:before,
        b.iid:after {
            display: inline;
            content: division(content(icon(down), "generated content", icon(up)),
                              border-width, 1,
                              border-style, solid);
            color: navy;
        }

  - rows, row or cell (all three give a table).

        b.iir:before,
        b.iir:after {
            display: inline;
            content: row(cell(icon(right)),
                         cell("generated content"),
                         cell(icon(left)),
                         border-width, 1,
                         border-style, solid);
            color: navy;
        }

- Other display values are ignored and processed like display: inline.

Prev | Up | Next
Chapter 7. Display values supported for generated content | Home | 2. display: block