- iPhone.js(検索バーを隠す為の設定)
window.addEventListener('load', function(){ setTimeout(function(){ scrollTo(0,1); },100); }, false);
/*リセット ------------------------------------*/ html, body, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, header, hgroup, section, article, aside, hgroup, footer, figure, figcaption, nav { margin: 0; padding: 0; font-size: 100%; } body { line-height: 1.0; /* 文字サイズの自動調整の無効化*/ -webkit-text-size-adjust: none; } /*html5の新要素をブロックレベルにする*/ article,aside,canvas,details,figcaption,figure, footer,header,hgroup,menu,nav,section,summary { display:block; } img { border: 0; vertical-align: bottom; } ul, ol { list-style: none; } table { border-spacing: 0; /* 内容がないセルも表示させる。*/ empty-cells: show; } /*サイト全体の基本スタイル ----------------------------------*/ body { font-family: Arial, sans-serif; font-size: 14px; line-height: 1.6; }
-webkit-text-size-adjust: none; ↓ -webkit-text-size-adjust: 100%;
にする。
- クリアフィックス
.親ボックスのクラス名:after { content: ''; display: block; clear: both; }