Home > css > IE7のcssハック

IE7のcssハック

  • 2008-01-19 (土) 1:48
  • css

IE7のcss処理もおかしいところがある。

次のハックはIE7のみに反映されるもの。

スタイルのセレクタの前に *:first-child+html を入れる

例)

*:first-child+html #description {
margin: 40px 0px 0px;
}

これでIE7でレイアウトが崩れたときに修正ができる。

Comments:0

Comment Form
Remember personal info

Trackbacks:0

Trackback URL for this entry
http://www.wiz.gr.jp/wordpress/28/trackback
Listed below are links to weblogs that reference
IE7のcssハック from WIZ-WORDPRESS│EC-CUBE-LABO

Home > css > IE7のcssハック

Return to page top