テーブル セルがあり、その中の div が常に左下隅にあるようにします。以下は IE と Safari では問題なく動作しますが、Firefox はdiv
セル内ではなくページ上に絶対に配置しています (ソリューション ソリューションに基づくコードはこちら)。Firefox を Quirks モードと Standards モードにする DTD を使用した場合と使用しない場合の両方をテストしましたが、どちらも正しく動作しませんでした。私は立ち往生しています - 何かアイデアはありますか?
<!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" xml:lang="en" lang="en">
<head>
<title>Test</title>
<style type="text/css">
table { width:500px; }
th, td { vertical-align: top; border:1px solid black; position:relative; }
th { width:100px; }
.manage { text-align:right; position:absolute; bottom:0; right:0; }
</style>
</head>
<body >
<table>
<tr>
<th>Some info about the following thing and this is actually going to span a few lines</th>
<td><p>A short blurb</p><div class="manage">Edit | Delete</div></td>
</tr>
<tr>
<th>Some info about the following thing and this is actually going to span a few lines</th>
<td><p>A short blurb</p><div class="manage">Edit | Delete</div></td>
</tr>
</table>
</body>
</html>