ブラウザ間の表示差異をなくすリセットCSSです。
独自の要素も含んでいます。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav { display: block } body { line-height: 1.25 } p { line-height: 1.75 } nav ul { list-style: none } blockquote, q { quotes: none } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none } a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent } del { text-decoration: line-through } abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help } table { border-collapse: collapse; border-spacing: 0 } input, select { vertical-align: middle } *, *:before, *:after { box-sizing: border-box; -o-box-sizing: border-box; -ms-box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box } body { -webkit-text-size-adjust: 100% } html { overflow-y: scroll } ins { background-color: #ff9; color: #000; text-decoration: none } mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold } hr { display: block; height: 1px; border: 0; border-top: 1px solid #cccccc; margin: 1em 0; padding: 0 } a { cursor: pointer; overflow: hidden } abbr, acronym { border-bottom: 1px dotted; cursor: help } blockquote { margin: 1em } em, strong { font-weight: bold } li { list-style: none } input { padding: 0.1em; vertical-align: middle } input[type="text"], input[type="password"] { height: 1.2em; line-height: 1.2 } input[type="checkbox"], input[type="radio"] { padding: 0; vertical-align: baseline } input[type="submit"], input[type="reset"] { line-height: 1; padding: 0.3em } legend { background: #fff; padding: 0.3em } select { padding: 0; vertical-align: baseline } textarea { padding: 0.1em; line-height: 1.4; vertical-align: middle } header, footer, .contents, .wrap, .contentsBox, .entryBox { clear: both } header:after, footer:after, .contents:after, .wrap:after, .contentsBox:after, .entryBox:after { content: ""; display: block; clear: both } nav:after, .mainColumn:after, .subColumn:after, .extraColumn:after { content: ""; display: block; clear: both } .nav_menu li { list-style: none } |