それぞれ、ブラウザ毎に初期値が違うものをリセットする
1 2 3 | * { margin : 0 ; padding : 0 ; line-height : 100% ; font-size : 100% ; } table { border-collapse : collapse ; } object, embed { vertical-align : top ; } |
1 | html { overflow-y: scroll ; } |
1 | img { border : 0 ; vertical-align : bottom ; } |
1 2 3 | body { font-size : 12px ; font-size : 62.5% ; } *:first-child+html body { font-size : small ; } /* IE7 */ * html body { font-size : small ; } /* IE6 */ |
0 件のコメント:
コメントを投稿