6. display: table-row
Prev | Chapter 7. Display values supported for generated content | Next

## 6. display: table-row

Displays supported for :before and :after generated content:

- display: table-cell. Supported layouts:

  - list.

        tr.rcl:before,
        tr.rcl:after {
            display: table-cell;
            content: icon(right) "generated content" icon(left);
            color: navy;
        }

  - paragraph.

        tr.rcp:before,
        tr.rcp:after {
            display: table-cell;
            content: paragraph(content(icon(right), "generated content", icon(left)),
                               border-width, 1,
                               border-style, solid);
            color: navy;
        }

  - division

        tr.rcd:before,
        tr.rcd:after {
            display: table-cell;
            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).

        tr.rcr:before,
        tr.rcr:after {
            display: table-cell;
            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: table-cell.

Prev | Up | Next
5. display: table-row-group | Home | 7. display: table-cell