我想知道如何正确地将这个XML剪辑设置为放在表格中。列是将在表格中的每个标题下添加的数据的标题。每列ex(符号,名称等)垂直出现我需要每列水平我做错了什么?
继承人css剪辑
titles {
display: table;
margin-left: auto;
margin-right: auto;
}
column {
display: table-column;
text-align: center;
text-decoration: underline;
font-weight: bold;
margin-left: auto;
margin-right: auto;
}
#c1 {
color:green
}
继承了xml剪辑
<heading>NASDAQ 100</heading>
<subHeading>Current quotes</subHeading>
<dateTime>
<date>11/01/2008</date>
<time>11:45:05</time>
</dateTime>
<titles>
<column id="c1">Symbol</column>
<column id="c2">Name</column>
<column id="c3">Last Sale</column>
<column id="c4">Net Change</column>
<column id="c5">% Change</column>
<column id="c6">Volume</column>
</titles>