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

回答編集履歴

3

コード追記

2019/12/04 02:39

投稿

hatena19
hatena19

スコア34367

answer CHANGED
@@ -3,7 +3,28 @@
3
3
  `alt = "写真" width = "100"`
4
4
 
5
5
  あと、最後の部分で div の閉じタグが不足してます。
6
+ ```html
7
+ </ul>
8
+ </body>
9
+ </html>
10
+ ```
11
+ これを下記に修正
12
+ ```html
13
+ </ul>
14
+ </div>
15
+ </div>
16
+ </body>
17
+ </html>
18
+ ```
6
19
 
7
20
  あとは、回り込みの回避については下記をご参考に。
8
21
 
9
- [floatを解除する4つの方法(clear:both;、overflow:hidden;、clearfix、height)](https://web-manabu.com/html-css39/)
22
+ [floatを解除する4つの方法(clear:both;、overflow:hidden;、clearfix、height)](https://web-manabu.com/html-css39/)
23
+
24
+ 上記のリンク先の4番目の方法を使う場合のコード例
25
+ CSSに下記を追加。
26
+ ```css
27
+ .main {
28
+ overflow:hidden;
29
+ }
30
+ ```

2

誤字修正

2019/12/04 02:39

投稿

hatena19
hatena19

スコア34367

answer CHANGED
@@ -4,6 +4,6 @@
4
4
 
5
5
  あと、最後の部分で div の閉じタグが不足してます。
6
6
 
7
- あとは、回り込みのかいょじについては下記をご参考に。
7
+ あとは、回り込みの回避については下記をご参考に。
8
8
 
9
9
  [floatを解除する4つの方法(clear:both;、overflow:hidden;、clearfix、height)](https://web-manabu.com/html-css39/)

1

説明追記

2019/12/04 01:56

投稿

hatena19
hatena19

スコア34367

answer CHANGED
@@ -1,8 +1,9 @@
1
1
  まず、HTMLコードに全角空白があります。これを半角空白に修正してください。
2
+ 下記のwidthの前が全角空白です。
3
+ `alt = "写真" width = "100"`
2
4
 
3
- あと下記をご参考に
5
+ あと、最後の部分で div の閉じタグが不足してます
4
6
 
5
- [floatを解除する4つの方法(clear:both;overflow:hidden;、clearfix、height)](https://web-manabu.com/html-css39/)
7
+ あとは回り込みのかいょじについては下記をご参考に。
6
8
 
7
-
8
- 「質問への修正依頼」読んで修正もしてください。
9
+ [float解除する4つの方法(clear:both;overflow:hidden;、clearfix、height)](https://web-manabu.com/html-css39/)