Hi,
On Thursday, 31 August 2006 at :08:15 +0200, Hussein Shafie wrote:
> Fabian Stehle wrote:
> > I have the following xml-file:
> > <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> > <?xml-stylesheet type="text/css" href="table.css"?>
> > <root>
> > <cat>
> > <elem1>content elem1</elem1>
> > <elem3>content elem3</elem3>
> > </cat>
> > <cat>
> > <elem1>content elem1</elem1>
> > <elem2>content elem2</elem2>
> > </cat>
> > <cat>
> > <elem1>content elem1</elem1>
> > <elem2>content elem2</elem2>
> > <elem3>content elem3</elem3>
> > </cat>
> > </root>
> > and the following css-file:
> > root:before {
> > display: table-row-group;
> > content: row(cell( "content elem1"),
> > cell("content elem2"),
> > cell("content 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 black;
> > }
> > cat
> > {
> > display: table-row;
> > border: 1px solid black;
> > }
> > elem1
> > {
> > display: table-cell;
> > }
> > elem2
> > {
> > display: table-cell;
> > }
> > elem3
> > {
> > display: table-cell;
> > }
> > I want that the content of elem1 is in the row for elem1, the content of
> > elem2 is in the row for elem2 and the content for elem3 is in the row
> > for elem3.
> > Is there a way to achieve this?
>
> I'm sorry but I don't understand. What's wrong with attached CSS (yours
> but slightly modified) and attached screenshot?
I want that the content of elem3 ("content elem3") in row 1 is shown in the
3rd column like in row 3.
Greeting
Fabian