firefox marginのエラー
firefoxでのバグですが…背景画像がmarginに影響されてしまいます。
<div id="com01"><p>テキスト</p></div>
↓スタイルシートで#com01に背景を敷き、pでテキストを表示しています。
#com01{
background:url(images/01.gif) no-repeat top left;
height:170px;
width:780px;
}
#com01 p{
padding:40px 430px 40px 40px;
font-size:1.1em;
font-weight:bold;
}
↑
pのテキスト位置の設定を「margin」にすると画像がずれるのでpaddingで決定。