質問編集履歴
1
resetCSSコードの追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -50,5 +50,93 @@
|
|
50
50
|
.header, .footer{height:10px;}
|
51
51
|
.main, .sidemenu{height:500px;}
|
52
52
|
.clear{clear: both;}
|
53
|
+
```
|
54
|
+
```resetCSS
|
55
|
+
/**
|
56
|
+
* html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/)
|
57
|
+
* Richard Clark (http://richclarkdesign.com)
|
58
|
+
* http://cssreset.com
|
59
|
+
*/
|
60
|
+
html, body, div, span, object, iframe,
|
61
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
62
|
+
abbr, address, cite, code,
|
63
|
+
del, dfn, em, img, ins, kbd, q, samp,
|
64
|
+
small, strong, sub, sup, var,
|
65
|
+
b, i,
|
66
|
+
dl, dt, dd, ol, ul, li,
|
67
|
+
fieldset, form, label, legend,
|
68
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
69
|
+
article, aside, canvas, details, figcaption, figure,
|
70
|
+
footer, header, hgroup, menu, nav, section, summary,
|
71
|
+
time, mark, audio, video {
|
72
|
+
margin:0;
|
73
|
+
padding:0;
|
74
|
+
border:0;
|
75
|
+
outline:0;
|
76
|
+
font-size:100%;
|
77
|
+
vertical-align:baseline;
|
78
|
+
background:transparent;
|
79
|
+
}
|
80
|
+
body {
|
81
|
+
line-height:1;
|
82
|
+
}
|
83
|
+
article,aside,details,figcaption,figure,
|
84
|
+
footer,header,hgroup,menu,nav,section {
|
85
|
+
display:block;
|
86
|
+
}
|
87
|
+
nav ul {
|
88
|
+
list-style:none;
|
89
|
+
}
|
90
|
+
blockquote, q {
|
91
|
+
quotes:none;
|
92
|
+
}
|
93
|
+
blockquote:before, blockquote:after,
|
94
|
+
q:before, q:after {
|
95
|
+
content:'';
|
96
|
+
content:none;
|
97
|
+
}
|
98
|
+
a {
|
99
|
+
margin:0;
|
100
|
+
padding:0;
|
101
|
+
font-size:100%;
|
102
|
+
vertical-align:baseline;
|
103
|
+
background:transparent;
|
104
|
+
}
|
105
|
+
/* change colours to suit your needs */
|
106
|
+
ins {
|
107
|
+
background-color:#ff9;
|
108
|
+
color:#000;
|
109
|
+
text-decoration:none;
|
110
|
+
}
|
111
|
+
/* change colours to suit your needs */
|
112
|
+
mark {
|
113
|
+
background-color:#ff9;
|
114
|
+
color:#000;
|
115
|
+
font-style:italic;
|
116
|
+
font-weight:bold;
|
117
|
+
}
|
118
|
+
del {
|
119
|
+
text-decoration: line-through;
|
120
|
+
}
|
121
|
+
abbr[title], dfn[title] {
|
122
|
+
border-bottom:1px dotted;
|
123
|
+
cursor:help;
|
124
|
+
}
|
125
|
+
table {
|
126
|
+
border-collapse:collapse;
|
127
|
+
border-spacing:0;
|
128
|
+
}
|
129
|
+
/* change border colour to suit your needs */
|
130
|
+
hr {
|
131
|
+
display:block;
|
132
|
+
height:1px;
|
133
|
+
border:0;
|
134
|
+
border-top:1px solid #cccccc;
|
135
|
+
margin:1em 0;
|
136
|
+
padding:0;
|
137
|
+
}
|
138
|
+
input, select {
|
139
|
+
vertical-align:middle;
|
140
|
+
}
|
53
141
|
|
54
142
|
```
|