前回作ったリセットが、NNやFireFox2 for Macなどで問題があるので、作り直しました。
フォント周りもどうにか詰めたいのですが、まぁ間違ってもいないみたいなので…
あと、MTベースのclearfixも修正しました。
/* 基本フォント —————————— */
html {
background: #009900;
}
body{
font-family: Arial, Helvetica, Verdana, “ヒラギノ角ゴPro W3″, “Hiragino Kaku Gothic Pro”, Osaka, “メイリオ”, Meiryo, “MS Pゴシック”, sans-serif;
background: #FFFFFF;
font-size: 12px;
line-height: 1.5;
}
h1,h2,h3,h4,h5,h6 {
font-size:100%;
font-weight:normal;
}
input,textarea,select {
font-size: 100%;
}
/*\*/
* html body {
font-size: 75%;
}
* html table {
font-size: 100%;
line-height: 1.5;
}
*:first-child+html body {
font-size: 75%;
}
/**/
/* 基本タグ —————————— */
body,div,
dl,dt,dd,ul,ol,li,
h1,h2,h3,h4,h5,h6,
p,blockquote,pre,cite,code,caption,
form,fieldset,legend,input,textarea,select,option,label {
margin:0;
padding:0;
}
table {
border-collapse:collapse;
border-spacing:0;
}
fieldset,img {
border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;
font-weight:normal;
}
ol,
ul {
list-style: none;
}
li img,
dt img {
vertical-align: bottom;
}
caption,th {
text-align:left;
}
q:before,q:after {
content:”;
}
object,
embed {
vertical-align: top;
}
abbr,acronym {
border:0;
}
/* ————————————————————————————–
float解除
————————————————————————————— */
.clearfix:after {
clear:both;
content:”.”;
display:block;
height:0;
visibility:hidden;
}
.clearfix {
display:inline-block;
}
* html .clearfix {
height:1%;
}
.clearfix {
display:block;
}
/* MacIE begin \*/
*+html .clearfix{height: 1%;}
* html .clearfix{height: 1%;}
.clearfix{display: block;}
/* Mac IE end */