Fabian Stehle wrote:
> I want that the content of elem3 ("content elem3") in row 1 is shown in the
> 3rd column like in row 3.

OK. Here it is:
---
root:first-child:before
{
    display: table-row;
    content: row(cell("Elem1"),
                 cell("Elem2"),
                 cell("Elem3"),
                 font-weight, bold,
                 color, white,
                 background-color, #0000A0,
                 border-width, 1,
                 border-style, solid,
                 border-top-color, gray,
                 border-bottom-color, gray,
                 border-right-color, gray,
                 border-left-color, gray);
}

root
{
        display:table;
        border: 1px solid gray;
}

cat
{
        display: table-row;
}

elem1,
elem2,
elem3
{
        display: table-cell;
        border: 1px solid gray;
}

elem2
{
        start-column: 1; /*First column is column #0*/
}

elem3
{
        start-column: 2;
}
---

The "start-column" non-standard property is described here:
http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/repeating_elements.html


Reply via email to