回答編集履歴
1
コード追記
answer
CHANGED
@@ -2,4 +2,29 @@
|
|
2
2
|
|
3
3
|
別の方の似た様な質問に回答したもので申し訳ないですが参照してみてください。
|
4
4
|
|
5
|
-
https://teratail.com/questions/350353#reply-479989
|
5
|
+
https://teratail.com/questions/350353#reply-479989
|
6
|
+
|
7
|
+
※追記
|
8
|
+
|
9
|
+
```html
|
10
|
+
<div class="inputBlock">
|
11
|
+
<div class="title">商品名:</div>
|
12
|
+
<div class="input"><input type="text" size="21"></div>
|
13
|
+
</div>
|
14
|
+
<div class="inputBlock">
|
15
|
+
<div class="title">販売価格:</div>
|
16
|
+
<div class="input"><input type="text" size="21"></div>
|
17
|
+
</div>
|
18
|
+
...
|
19
|
+
```
|
20
|
+
|
21
|
+
```CSS
|
22
|
+
.inputBlock {
|
23
|
+
width: 600px;
|
24
|
+
display: flex;
|
25
|
+
}
|
26
|
+
|
27
|
+
.title {
|
28
|
+
width: 200px;
|
29
|
+
}
|
30
|
+
```
|