回答編集履歴
1
解答を追加
test
CHANGED
@@ -1,4 +1,28 @@
|
|
1
|
+
### 結論
|
2
|
+
|
3
|
+
相対パスでCSSを読み込んでいるため、起きている
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
・誤り
|
8
|
+
|
9
|
+
記述:href="css/xxxx.css"
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
→つまるところ、これを絶対パスへ修正すれば直ります。
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
・正解
|
18
|
+
|
19
|
+
記述:href="/css/xxxx.css"
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
1
|
-
###
|
25
|
+
### ブラウザのログを見ましょう
|
2
26
|
|
3
27
|
|
4
28
|
|
@@ -54,7 +78,7 @@
|
|
54
78
|
|
55
79
|
```
|
56
80
|
|
57
|
-
www.exsample.com/:12 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://www.exsample.com/about/css/
|
81
|
+
www.exsample.com/:12 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://www.exsample.com/about/css/aaaaaaa.css".
|
58
82
|
|
59
83
|
www.exsample.com/:9 Resource interpreted as Stylesheet but transferred with MIME type text/html: "https://www.exsample.com/about/css/bootstrap.css".
|
60
84
|
|