質問編集履歴

1

ソースコードを追加しました

2017/08/27 05:08

投稿

TyQVUGp6qaHOphw
TyQVUGp6qaHOphw

スコア7

test CHANGED
File without changes
test CHANGED
@@ -5,3 +5,195 @@
5
5
  どうしてそうなるのか、どうやったら治るのか教えてください。
6
6
 
7
7
  edgeでは読み込めるので、ソースコードには問題ないと思います。
8
+
9
+
10
+
11
+ ```html
12
+
13
+ <!doctype html>
14
+
15
+ <html lang="ja">
16
+
17
+ <head>
18
+
19
+ <meta charset="UTF-8">
20
+
21
+ <title>sample</title>
22
+
23
+ <link rel="stylesheet" href="../css/index.css">
24
+
25
+ </head>
26
+
27
+ <body>
28
+
29
+
30
+
31
+ <h1 id="header">sample</h1>
32
+
33
+
34
+
35
+ <div class="index">
36
+
37
+ <div class="nav">
38
+
39
+ <ul>
40
+
41
+ <li><a href="#header">sample</a></li>
42
+
43
+ <li><a href="about.html">sample</a></li>
44
+
45
+ <li><a href="cost.html">sample</a></li>
46
+
47
+ <li><a href="access.html">sample</a></li>
48
+
49
+ <li><a href="ask.html">sample</a></li>
50
+
51
+ </ul>
52
+
53
+ </nav>
54
+
55
+ </div>
56
+
57
+
58
+
59
+ <div id="main">
60
+
61
+ <div id="TOP">
62
+
63
+ <p>
64
+
65
+ <h2>sample</h2>
66
+
67
+ sample<br>
68
+
69
+ sample
70
+
71
+ </p>
72
+
73
+
74
+
75
+ </div>
76
+
77
+ </div>
78
+
79
+ </body>
80
+
81
+ </html>
82
+
83
+ ```
84
+
85
+
86
+
87
+ ```css
88
+
89
+ body{
90
+
91
+ max-width: 900px;
92
+
93
+ margin: auto;
94
+
95
+ }
96
+
97
+
98
+
99
+ h1{
100
+
101
+ filter:alpha(opacity=70);
102
+
103
+ -moz-opacity: 0.7;
104
+
105
+ opacity: 0.7;
106
+
107
+ font-size: 50px;
108
+
109
+ padding: 40px;
110
+
111
+ color: white;
112
+
113
+ background: #eda789;
114
+
115
+ width: 1000px auto;
116
+
117
+ height:100px auto;
118
+
119
+ text-align: center;
120
+
121
+ box-shadow: 6px 6px 2px #e1a181;
122
+
123
+ user-select: none;
124
+
125
+ -moz-user-select: none;
126
+
127
+ -webkit-user-select: none;
128
+
129
+ -ms-user-select: none;
130
+
131
+ }
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ li{
140
+
141
+ float: left;
142
+
143
+ font-size: 25px;
144
+
145
+ width: 1000px auto;
146
+
147
+ height:100px auto;
148
+
149
+ text-align: center;
150
+
151
+ list-style: none;
152
+
153
+ padding-top:33px;
154
+
155
+ padding-bottom:33px;
156
+
157
+ padding-left:20px;
158
+
159
+ padding-right:20px;
160
+
161
+ }
162
+
163
+
164
+
165
+ /*.main{
166
+
167
+
168
+
169
+ padding: 100px 80px;
170
+
171
+ }*/
172
+
173
+ .TOP{
174
+
175
+ width:50px;
176
+
177
+ }
178
+
179
+
180
+
181
+ .nav ul:after{
182
+
183
+ content:"";
184
+
185
+ display:block;
186
+
187
+ clear:both;
188
+
189
+ }
190
+
191
+
192
+
193
+ index{
194
+
195
+ width: 100%;
196
+
197
+ }
198
+
199
+ ```