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

質問編集履歴

3

あああああああああああああああああああああああああああああああああああああああああああああああ

2022/05/17 11:04

投稿

wassan_nikoniko
wassan_nikoniko

スコア9

title CHANGED
@@ -1,1 +1,1 @@
1
- inputの行の開始位置を揃え
1
+ 自己解決しため生地を落とします
body CHANGED
@@ -1,95 +1,1 @@
1
- ### 前提・実現したいこと
2
-
3
- タイトルの通りになりますが、このコードでいうジャンルの位置にinputの行の開始位置をすべて揃えたいです。
4
-
5
-
6
-
7
- ### 該当のソースコード
8
-
9
- ```html
10
- <!DOCTYPE html>
11
- <html lang="ja">
12
- <head>
13
- <meta charset="utf-8" />
14
- <link rel="stylesheet" href="style.css">
15
- <title>タイトル</title>
16
- </head>
17
- <body>
18
- <p class="left-title">商品情報管理システム<p> <p class="center-title">商品情報登録</p>
19
- <div class="sub-button">
20
- <button type="submit" style="width:70px; height:40px;">登録</button>
21
- </div>
22
- <div class="container">
23
- <label class="pull-label">ジャンル:<select size="1" name="sample" class="Product-pulldown">
1
+ ああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああああ
24
- 04
25
- <option value="sample">サンプル1</option>
26
- 05
27
- <option value="sample">サンプル2</option>
28
- 06
29
- <option value="sample">サンプル3</option>
30
- 07
31
- <option value="sample">サンプル4</option>
32
- 08
33
- <option value="sample">サンプル5</option>
34
- 09
35
- </select>
36
-
37
- </label>
38
-
39
-
40
- <div class="form">
41
- <div>メーカー:<input type="text" size="21"></div>
42
- <div>商品名:<input type="text" size="21"></div>
43
- <div>販売価格:<input type="text" size="21"></div>
44
- <div class="acount">アカウント:<input type="text" size="21" name="ac"></div>
45
- <div class="pass">パスワード:<input type="password" size="21" name="pw"></div>
46
- </div>
47
- </div>
48
- </body>
49
- </html>
50
- ```
51
-
52
-
53
- ```css
54
- body{
55
- width:100%;
56
- }
57
-
58
- .left-title{
59
- font-size:20px;
60
- font-weight:bold;
61
- }
62
- .center-title{
63
- font-weight:bold;
64
- text-align:center;
65
- font-size:20px;
66
- }
67
- .sub-button{
68
- margin-left:65%;
69
- }
70
- button{
71
- font-weight:bold;
72
- border:1px solid black;
73
- border-radius:5px;
74
- background-color:gray;
75
- }
76
-
77
- .container{
78
- margin-left:35%;
79
- }
80
- .Product-pulldown{
81
- width:40%;
82
- }
83
- label{
84
- display:block;
85
- }
86
- .form{
87
-
88
- }
89
-
90
-
91
- ```
92
-
93
- ![![イメージ説明](50c109fc7f81d0bf899be8871d911682.png)](844eaaae3792ff32fecf284f6830ba38.png)
94
-
95
- ![![イメージ説明](c399196e5453728eb9011cca470350de.png)説明](0dc8210aec580dc8220815f38f480de5.png)](854fb48cd52380dd39edab1a96fd0461.png)

2

イメージ図

2021/07/29 08:44

投稿

wassan_nikoniko
wassan_nikoniko

スコア9

title CHANGED
File without changes
body CHANGED
@@ -90,4 +90,6 @@
90
90
 
91
91
  ```
92
92
 
93
- ![![イメージ説明](50c109fc7f81d0bf899be8871d911682.png)](844eaaae3792ff32fecf284f6830ba38.png)
93
+ ![![イメージ説明](50c109fc7f81d0bf899be8871d911682.png)](844eaaae3792ff32fecf284f6830ba38.png)
94
+
95
+ ![![イメージ説明](c399196e5453728eb9011cca470350de.png)説明](0dc8210aec580dc8220815f38f480de5.png)](854fb48cd52380dd39edab1a96fd0461.png)

1

image add

2021/07/29 08:44

投稿

wassan_nikoniko
wassan_nikoniko

スコア9

title CHANGED
File without changes
body CHANGED
@@ -88,4 +88,6 @@
88
88
  }
89
89
 
90
90
 
91
- ```
91
+ ```
92
+
93
+ ![![イメージ説明](50c109fc7f81d0bf899be8871d911682.png)](844eaaae3792ff32fecf284f6830ba38.png)