seesaaのアレ
ノートぽい奴。なぜかfirefoxでh1以下の背景画像が消える。見辛くてかなわん。
htmlの構造はこんな感じ。
- body
- #container
- #banner
- h1
- span.description
- #links-left
- #content
- #footer
- #banner
- #container
#containerの幅を決め打って、#bannerはそのまま。
#links-leftと#contentはそれぞれ幅を固定して左フロート。で#footerで左フロートをクリア。
内部をフロートしているとその親要素の枠やら背景が描かれないというアレか?
あー、なぜか#containerにborderを設定すると背景が描かれる。とりあえず#containerにborder:1px solid #a9a9a9;と設定すれば問題は無くなる。