質問するログイン新規登録

質問編集履歴

1

djangoを用いて制作しているため、特有の表記がありました。修正しました。

2018/04/08 14:17

投稿

shirasu10fish
shirasu10fish

スコア35

title CHANGED
File without changes
body CHANGED
@@ -4,8 +4,6 @@
4
4
 
5
5
  ##問題のソース
6
6
  ```html
7
- {% load staticfiles%}
8
-
9
7
  <!DOCTYPE html>
10
8
  <html lang="ja">
11
9
  <head>
@@ -37,8 +35,8 @@
37
35
  text-align: center;
38
36
  }
39
37
 
40
- .resizeimage img {
38
+ .resizeimage img { width: 100%; }
41
- width: 100%; }
39
+
42
40
  </style>
43
41
  <div class="container">
44
42
 
@@ -46,7 +44,7 @@
46
44
  <div class="top_b1"> <!--画像の親-->
47
45
  <div class="resizeimage"><!--画像サイズ可変-->
48
46
  <div class="center">
49
- <img src="{% static "top/nologin/top.png" %}?2" alt="紹介画像1" >
47
+ <img src="./hogehoge.png" alt="紹介画像1" >
50
48
 
51
49
  </div>
52
50
  </div>