@charset "Shift_JIS"; /* ================================================ * * HPテンプレート素材処QPLO * 1カラムコンパクト #108 * http://www.qplo.net/ * * ================================================ */ /* ================================================ * * 全体設定 * * ================================================ */ /* 全称セレクタでリセット */ * { margin: 0; padding: 0; font-style : normal; font-weight : normal; font-size: 100%; } /* WinIEのスクロールバー消し */ html{ overflow: hidden; } /* 全体設定 */ body { color: #333; background: #FFF; text-align: center; line-height: 1.5; } /* ================================================ * * 主なブロック要素設定 * * ================================================ */ dl, p { padding: 0.25em; } /* ================================================ * * ページレイアウト(各ページ共通) * * ================================================ */ /* ------------------------------------------------ */ /* ページの整形 */ #container { text-align: left; background: #FFF; overflow: auto; height: 400px; width: 600px; position: absolute; top: 50%; left: 50%; margin-top: -200px; margin-left: -300px; } /* ------------------------------------------------ */ /* ヘッダー */ #header { height: 60px; margin: 0; padding: 0; background: #66ccb8; } /* ------------------------------------------------ */ /* メイン */ #main { position: relative; background: #cc6; margin: 0; padding: 110px 0 0; height: 400px; /* 表示の都合上表記。適宜削除して下さい。 */ } /* ------------------------------------------------ */ /* メニュー部分 */ #menu { margin: 0; padding: 0; background: #cc8f66; width: 583px; height: 110px; position: absolute; top: 60px; } /* ------------------------------------------------ */ /* フッター */ #footer { height: 60px; background: #8fcc66; margin: 0; padding: 0; }