回答編集履歴
1
文字修正
answer
CHANGED
@@ -11,9 +11,8 @@
|
|
11
11
|
`http://hogehoge.com`/`hoge/index.html`
|
12
12
|
`http://hogehoge.com`/`hoge/css/style.css`
|
13
13
|
のようにルートディレクトリからの設置場所までのパスが変わっていないでしょうか。
|
14
|
+
※上記のような設置パターンだと`href="./hoge/css/style.css"`が正しいパスとなります。
|
14
15
|
|
15
|
-
上記のような設置パターンだと`href="./hoge/css/style.css"`が正しいパスとなります。
|
16
|
-
|
17
16
|
両方で正しくプレビューするには、
|
18
17
|
・localhostのほうも`hoge`フォルダの中に各ファイルを入れる
|
19
18
|
・サーバーのほうのサブディレクトリ`hoge/`をやめてルートに置く
|