Hallo zusammen,
ich habe ein Problem mit dem unten eingefügten XHTML/CSS bei der Anzeige im Firebird 0.7 unter Windows. Die Caption der Tabelle scheint um einen Pixel 'eingerückt' zu werden, sobald ich für die Tabelle die Regel border-collapse: collapse; definiere. Ist das W3C-Konform oder ist das ein Bug?
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Table Caption Test</title>
<style type="text/css">
/*<![CDATA[*/
table {
border-collapse: collapse;
}
table, caption, td {
border: 1px solid black;
}
/*]]>*/
</style>
</head>
<body>
<table>
<caption>Test</caption>
<thead>
<tr>
<th>Test</th>
</tr>
</thead>
<tbody>
<tr>
<td>Test</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Test</td>
</tr>
</tfoot>
</table>
</body>
</html>
Alles anzeigen