Firefox 1.5 および 2 で問題を引き起こしている次の html/css がありますが、IE6/7/8、Safari、Chrome、Opera、および Firefox 1 および 3 では正常に動作しています。
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Firefox Bug</title>
<style type="text/css">
* { border: 0; padding: 0; margin: 0; }
#wrapper {
width: 500px;
min-height: 550px;
height: auto !important;
height: 550px;
border: 5px solid blue;
position: relative;
display: inline;
overflow: auto;
float: left;
}
#content {
border: 5px solid green;
}
#bottom {
border: 5px solid red;
position: absolute;
bottom: 0;
right: 0;
width: 200px;
height: 100px;
}
</style>
</head>
<body>
<div id="wrapper">
<div id="content">
Foo
</div>
<div id="bottom">
Bar
</div>
</div>
</body>
</html>
正常に動作しているブラウザーでは、bottom 要素がラッパー要素の右下に表示されます。ただし、Firefox 2 では、bottom 要素は content 要素の下部にあります。なぜこれが起こっているのかわかりません。どんな助けでも大歓迎です。
予想された結果
Firefox 2 のバグ