質問編集履歴

2

画像を添付

2015/12/16 11:10

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -115,3 +115,15 @@
115
115
  </section><!-- /#about -->
116
116
 
117
117
  ```
118
+
119
+
120
+
121
+ ![イメージ説明](4ca5b241b88a32a20f73c23ce68c7618.png)
122
+
123
+
124
+
125
+ 上記のようにしたいのですが、プロのコーダーは、この場合フロートを使うのでしょうか?
126
+
127
+ マルチカラムはIE8以上なら、すべてdisplay:table;が良いのかと思っていましたが、
128
+
129
+ そうではないのですかね?

1

ソースを追加

2015/12/16 11:10

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -15,3 +15,103 @@
15
15
  また画像と同じ親要素の中にh、pタグなどもある場合は、その親にdisplay: table;をつけると、こちらまでテーブルの一部になってしまわないでしょうか?
16
16
 
17
17
  その場合の対処法があれば教えてください。
18
+
19
+
20
+
21
+ ・ソース
22
+
23
+ ```ここに言語を入力
24
+
25
+ <section class="main__about-me">
26
+
27
+ <h2 class="content-wrap-widthmax__heading main__common-heading">GALLARY</h2>
28
+
29
+ <h3>題名</h3>
30
+
31
+ <p>和風の高級感を表現するをコンセプトに作ったサンプルサイトです。</p>
32
+
33
+ <figure class="portfolio-images-common">
34
+
35
+ <img class="aa-pcimage" src="img/index/aa-pcimage.jpg" alt="PCサイズの画像">
36
+
37
+ <figcaption>PCサイズ</figcaption>
38
+
39
+ </figure>
40
+
41
+ <figure class="portfolio-images-common">
42
+
43
+ <img class="aa-tabletimage" src="img/index/aa-tabletimage.png" alt="タブレットサイズサイズのファーストビューの画像">
44
+
45
+ <figcaption>タブレットサイズ</figcaption>
46
+
47
+ </figure>
48
+
49
+ <figure class="portfolio-images-common">
50
+
51
+ <img class="aa-sptimage" src="img/index/aa-tabletimage.png" alt="SPサイズサイズのファーストビューの画像">
52
+
53
+ <figcaption>SPサイズ</figcaption>
54
+
55
+ </figure>
56
+
57
+ <figure class="portfolio-images-common">
58
+
59
+ <img class="aa-sptimage" src="img/index/aa-tabletimage.png" alt="SPサイズサイズのファーストビューの画像">
60
+
61
+ <figcaption>SPサイズ</figcaption>
62
+
63
+ </figure>
64
+
65
+ </section><!-- /#about -->
66
+
67
+ ```
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+ もしかすると下記のように、マルチカラムにしたい画像を同じfigureタグの中に入れて、別カラムにしたい、画像は別のfigureタグに入れて、、それぞれのfugureタグにdisplay: table-cell;を入れるのが、実務でも正しいやり方なのでしょうか?
76
+
77
+
78
+
79
+ ・ソース
80
+
81
+ ```ここに言語を入力
82
+
83
+ <section class="main__about-me">
84
+
85
+ <h2 class="content-wrap-widthmax__heading main__common-heading">GALLARY</h2>
86
+
87
+ <h3>題名</h3>
88
+
89
+ <p>和風の高級感を表現するをコンセプトに作ったサンプルサイトです。</p>
90
+
91
+ <figure class="portfolio-images-common">
92
+
93
+ <img class="aa-pcimage" src="img/index/aa-pcimage.jpg" alt="PCサイズの画像">
94
+
95
+ <figcaption>PCサイズ</figcaption>
96
+
97
+ <img class="aa-tabletimage" src="img/index/aa-tabletimage.png" alt="タブレットサイズサイズのファーストビューの画像">
98
+
99
+ <figcaption>タブレットサイズ</figcaption>
100
+
101
+ </figure>
102
+
103
+ <figure class="portfolio-images-common">
104
+
105
+ <img class="aa-sptimage" src="img/index/aa-tabletimage.png" alt="SPサイズサイズのファーストビューの画像">
106
+
107
+ <figcaption>SPサイズ</figcaption>
108
+
109
+ <img class="aa-sptimage" src="img/index/aa-tabletimage.png" alt="SPサイズサイズのファーストビューの画像">
110
+
111
+ <figcaption>SPサイズ</figcaption>
112
+
113
+ </figure>
114
+
115
+ </section><!-- /#about -->
116
+
117
+ ```