Vielen Dank für die Antwort!! Ich arbeite erst seit Kurzem mit css, daher vielleicht eine dumme Frage: Was muss ich konkret statt "tr" und "td" einfügen?
Hier noch etwas Quelltext:
Record {
display: table;
width: 40em;
border-collapse: seperate;
border-spacing: 1px;
border: 2px solid black;
margin: 1em;
table-layout: fixed;
}
Entity {
display: table-row;
text-align: center;
font: 1em Georgia, serif;
color: gray;
padding-bottom: 4px;
}
ID {
display: table-cell;
width: 10em;
font-weight: bolder;
padding: 1em;
}
XML-Ursprung:
<Record>
<Entity>
<Name>Query</Name>
<Data>
<ID>id1</ID>
...
</Data>
</Entity>
...
</Record>
Lieben Gruß
|