スポンサーサイト

2014.01.27 Monday

一定期間更新がないため広告を表示しています

  • -
  • -
  • -

body {
/*ie6fixed*/
height: 100%;
/*iPhone*/
position: relative;
}
#overlay {
position: fixed;
top: 0;
left: 0;
/*ie6fixed*/
position: expression('absolute');
top: expression(documentElement.scrollTop + 'px');
left: expression(documentElement.scrollLeft + 'px');
z-index: 90;
width: 100%;
height: 100%;
background-color: #000;
-ms-filter: "alpha( opacity=0 )";/*IE8*/
filter: alpha( opacity=0 );/*IE6,7*/
opacity: 0;
}
/*iPhone overlay position*/
@media screen and (max-device-width: 480px) {
#overlay {
position: absolute;
top: 0;
left: 0;
}
}
iPhoneとIE6のposition: fixedが効かなくて困った時のメモ
それとIE6,7,8のopacityの仕方を覚えられないのでメモ

スポンサーサイト

2014.01.27 Monday

  • -
  • -
  • -

コメント
コメントする








   
この記事のトラックバックURL
トラックバック

calendar

S M T W T F S
     12
3456789
10111213141516
17181920212223
24252627282930
31      
<< March 2024 >>

profile

last entry:2013/06/10

selected entries

categories

archives

recent comment

search this site.

others