두 개의 표가 있습니다.페이지의 표 위치를 지정하는 방법
나는 서로 가깝고 지금은 하나의 열에 하나가되고 싶지 않다.
어떻게 할 수 있습니까?
그리고 일반적으로 페이지의 위치를 지정하는 방법은 무엇입니까? 당신은 테이블이 첫 번째 오른쪽에 두 번째 테이블 즉, 나란히 표시되어야한다는 것을 의미하는 경우
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<h2>My CD Collection</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th>Title</th>
<th>Artist</th>
</tr>
<xsl:for-each select="catalog/cd">
<tr>
<td><xsl:value-of select="title"/></td>
<td><xsl:value-of select="artist"/></td>
</tr>
</xsl:for-each>
</table>
<table border="1">
<tr bgcolor="#9acd32">
<th>Title</th>
<th>Artist</th>
</tr>
<xsl:for-each select="catalog/cd">
<tr>
<td><xsl:value-of select="title"/></td>
<td><xsl:value-of select="artist"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
이것은 XSLT 질문이 아니므로 HTML을 알아야합니다. –
당신이 원하는 것이 아주 명확하지 않습니다. '서로 가까워'라는게 무슨 뜻이야? – ptriek
@ptriek 정확히 –