回答編集履歴
1
テスト状況を追記
test
CHANGED
@@ -45,3 +45,95 @@
|
|
45
45
|
```
|
46
46
|
|
47
47
|
しちゃうと思います。
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
追記:当方でのテスト状況
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
```HTML
|
56
|
+
|
57
|
+
<div id="box">
|
58
|
+
|
59
|
+
<dl>
|
60
|
+
|
61
|
+
<dt><img src="images/img01.png"></dt>
|
62
|
+
|
63
|
+
<dd><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p><p>ほげほげほげほ</p></dd>
|
64
|
+
|
65
|
+
</dl>
|
66
|
+
|
67
|
+
</div>
|
68
|
+
|
69
|
+
```
|
70
|
+
|
71
|
+
```CSS
|
72
|
+
|
73
|
+
#box {
|
74
|
+
|
75
|
+
width:500px;
|
76
|
+
|
77
|
+
text-align:left;
|
78
|
+
|
79
|
+
}
|
80
|
+
|
81
|
+
#box dl {
|
82
|
+
|
83
|
+
display:table;
|
84
|
+
|
85
|
+
width:100%;
|
86
|
+
|
87
|
+
}
|
88
|
+
|
89
|
+
#box dl dt,#box dl dd {
|
90
|
+
|
91
|
+
display:table-cell;
|
92
|
+
|
93
|
+
width:50%;
|
94
|
+
|
95
|
+
}
|
96
|
+
|
97
|
+
#box dl dt {
|
98
|
+
|
99
|
+
background-color:#CFF;
|
100
|
+
|
101
|
+
vertical-align:bottom;
|
102
|
+
|
103
|
+
text-align:center;
|
104
|
+
|
105
|
+
}
|
106
|
+
|
107
|
+
#box dl dt img {
|
108
|
+
|
109
|
+
max-width:100%;
|
110
|
+
|
111
|
+
height:auto;
|
112
|
+
|
113
|
+
}
|
114
|
+
|
115
|
+
#box dl dd {
|
116
|
+
|
117
|
+
background-color:#FFC;
|
118
|
+
|
119
|
+
vertical-align:bottom;
|
120
|
+
|
121
|
+
}
|
122
|
+
|
123
|
+
#box dl dd p {
|
124
|
+
|
125
|
+
line-height:22px;
|
126
|
+
|
127
|
+
font-size:16px;
|
128
|
+
|
129
|
+
}
|
130
|
+
|
131
|
+
#box dl dd p:last-of-type {
|
132
|
+
|
133
|
+
margin-bottom:-3px;
|
134
|
+
|
135
|
+
}
|
136
|
+
|
137
|
+
```
|
138
|
+
|
139
|
+
画像は、137px/256pxで確認、どっちもbottom設定。
|