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

質問編集履歴

9

修正

2018/08/25 12:39

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -97,100 +97,6 @@
97
97
  ```
98
98
 
99
99
 
100
- 下記、reset.css
101
-
102
- ```css
103
- /**
104
- * html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/)
105
- * Richard Clark (http://richclarkdesign.com)
106
- * http://cssreset.com
107
- */
108
- html, body, div, span, object, iframe,
109
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
110
- abbr, address, cite, code,
111
- del, dfn, em, img, ins, kbd, q, samp,
112
- small, strong, sub, sup, var,
113
- b, i,
114
- dl, dt, dd, ol, ul, li,
115
- fieldset, form, label, legend,
116
- table, caption, tbody, tfoot, thead, tr, th, td,
117
- article, aside, canvas, details, figcaption, figure,
118
- footer, header, hgroup, menu, nav, section, summary,
119
- time, mark, audio, video {
120
- margin:0;
121
- padding:0;
122
- border:0;
123
- outline:0;
124
- font-size:100%;
125
- vertical-align:baseline;
126
- background:transparent;
127
- }
128
- body {
129
- line-height:1;
130
- }
131
- article,aside,details,figcaption,figure,
132
- footer,header,hgroup,menu,nav,section {
133
- display:block;
134
- }
135
- nav ul {
136
- list-style:none;
137
- }
138
- blockquote, q {
139
- quotes:none;
140
- }
141
- blockquote:before, blockquote:after,
142
- q:before, q:after {
143
- content:'';
144
- content:none;
145
- }
146
- a {
147
- margin:0;
148
- padding:0;
149
- font-size:100%;
150
- vertical-align:baseline;
151
- background:transparent;
152
- }
153
- /* change colours to suit your needs */
154
- ins {
155
- background-color:#ff9;
156
- color:#000;
157
- text-decoration:none;
158
- }
159
- /* change colours to suit your needs */
160
- mark {
161
- background-color:#ff9;
162
- color:#000;
163
- font-style:italic;
164
- font-weight:bold;
165
- }
166
- del {
167
- text-decoration: line-through;
168
- }
169
- abbr[title], dfn[title] {
170
- border-bottom:1px dotted;
171
- cursor:help;
172
- }
173
- table {
174
- border-collapse:collapse;
175
- border-spacing:0;
176
- }
177
- /* change border colour to suit your needs */
178
- hr {
179
- display:block;
180
- height:1px;
181
- border:0;
182
- border-top:1px solid #cccccc;
183
- margin:1em 0;
184
- padding:0;
185
- }
186
- input, select {
187
- vertical-align:middle;
188
- }
189
-
190
- ```
191
-
192
-
193
-
194
100
  ![イメージ説明](2d02414a0fd2b2b4932c33b57b47111e.png)
195
101
 
196
102
 

8

アイコン

2018/08/25 12:39

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -73,7 +73,7 @@
73
73
  margin-bottom: 30px;
74
74
  }
75
75
 
76
- .info1, .info2, .info3 .info4, .detail {
76
+ .info1, .info2, .info3, .info4, .detail {
77
77
  font-size: 18px;
78
78
  padding-bottom: 34px;
79
79
  }

7

修正

2018/08/25 12:38

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -1,4 +1,4 @@
1
- ![イメージ説明](2d02414a0fd2b2b4932c33b57b47111e.png)### 前提・実現したいこと
1
+ ### 前提・実現したいこと
2
2
 
3
3
  thに、縦の破線をつけたい。
4
4
  「th」の「width」を固定値にして「before」要素で実装したい
@@ -96,6 +96,9 @@
96
96
 
97
97
  ```
98
98
 
99
+
100
+ 下記、reset.css
101
+
99
102
  ```css
100
103
  /**
101
104
  * html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/)
@@ -185,9 +188,16 @@
185
188
  }
186
189
 
187
190
  ```
191
+
192
+
193
+
194
+ ![イメージ説明](2d02414a0fd2b2b4932c33b57b47111e.png)
195
+
196
+
188
197
  ### 試したこと
189
198
 
190
199
 
200
+
191
201
  ### 補足情報(FW/ツールのバージョンなど)
192
202
  google chrome 67.0.3396.99
193
203
  Mac10.13.6

6

css

2018/08/25 11:46

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -96,6 +96,95 @@
96
96
 
97
97
  ```
98
98
 
99
+ ```css
100
+ /**
101
+ * html5doctor.com Reset Stylesheet v1.6.1 (http://html5doctor.com/html-5-reset-stylesheet/)
102
+ * Richard Clark (http://richclarkdesign.com)
103
+ * http://cssreset.com
104
+ */
105
+ html, body, div, span, object, iframe,
106
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
107
+ abbr, address, cite, code,
108
+ del, dfn, em, img, ins, kbd, q, samp,
109
+ small, strong, sub, sup, var,
110
+ b, i,
111
+ dl, dt, dd, ol, ul, li,
112
+ fieldset, form, label, legend,
113
+ table, caption, tbody, tfoot, thead, tr, th, td,
114
+ article, aside, canvas, details, figcaption, figure,
115
+ footer, header, hgroup, menu, nav, section, summary,
116
+ time, mark, audio, video {
117
+ margin:0;
118
+ padding:0;
119
+ border:0;
120
+ outline:0;
121
+ font-size:100%;
122
+ vertical-align:baseline;
123
+ background:transparent;
124
+ }
125
+ body {
126
+ line-height:1;
127
+ }
128
+ article,aside,details,figcaption,figure,
129
+ footer,header,hgroup,menu,nav,section {
130
+ display:block;
131
+ }
132
+ nav ul {
133
+ list-style:none;
134
+ }
135
+ blockquote, q {
136
+ quotes:none;
137
+ }
138
+ blockquote:before, blockquote:after,
139
+ q:before, q:after {
140
+ content:'';
141
+ content:none;
142
+ }
143
+ a {
144
+ margin:0;
145
+ padding:0;
146
+ font-size:100%;
147
+ vertical-align:baseline;
148
+ background:transparent;
149
+ }
150
+ /* change colours to suit your needs */
151
+ ins {
152
+ background-color:#ff9;
153
+ color:#000;
154
+ text-decoration:none;
155
+ }
156
+ /* change colours to suit your needs */
157
+ mark {
158
+ background-color:#ff9;
159
+ color:#000;
160
+ font-style:italic;
161
+ font-weight:bold;
162
+ }
163
+ del {
164
+ text-decoration: line-through;
165
+ }
166
+ abbr[title], dfn[title] {
167
+ border-bottom:1px dotted;
168
+ cursor:help;
169
+ }
170
+ table {
171
+ border-collapse:collapse;
172
+ border-spacing:0;
173
+ }
174
+ /* change border colour to suit your needs */
175
+ hr {
176
+ display:block;
177
+ height:1px;
178
+ border:0;
179
+ border-top:1px solid #cccccc;
180
+ margin:1em 0;
181
+ padding:0;
182
+ }
183
+ input, select {
184
+ vertical-align:middle;
185
+ }
186
+
187
+ ```
99
188
  ### 試したこと
100
189
 
101
190
 

5

画像

2018/08/25 10:37

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -1,4 +1,4 @@
1
- ### 前提・実現したいこと
1
+ ![イメージ説明](2d02414a0fd2b2b4932c33b57b47111e.png)### 前提・実現したいこと
2
2
 
3
3
  thに、縦の破線をつけたい。
4
4
  「th」の「width」を固定値にして「before」要素で実装したい

4

補足情報

2018/08/25 10:31

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -99,4 +99,6 @@
99
99
  ### 試したこと
100
100
 
101
101
 
102
- ### 補足情報(FW/ツールのバージョンなど)
102
+ ### 補足情報(FW/ツールのバージョンなど)
103
+ google chrome 67.0.3396.99
104
+ Mac10.13.6

3

修正中

2018/08/25 10:28

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -11,10 +11,91 @@
11
11
  ### 該当のソースコード
12
12
 
13
13
  ```html
14
+ <!DOCTYPE html>
15
+ <html lang="ja">
16
+ <head>
17
+ <meta charset="utf-8">
18
+ <link rel="stylesheet" type="text/css" href="./css/reset.css">
19
+ <link rel="stylesheet" type="text/css" href="./css/test.css">
20
+ </head>
21
+ <body>
22
+ <main class="main">
23
+ <div class="main_container">
24
+ <div class="shop">
25
+ <div class="shop_info clearfix">
26
+ <table class="information">
27
+ <caption>caption</caption>
28
+ <tr>
29
+ <th class="info1">info</th>
30
+ <td class="detail">detail</td>
31
+ </tr>
32
+ <tr>
33
+ <th class="info2">info</th>
34
+ <td class="detail">detail</td>
35
+ </tr>
36
+ <tr>
37
+ <th class="info3">info</th>
38
+ <td class="detail">detail</td>
39
+ </tr>
40
+ <tr>
41
+ <th class="info4">info</th>
42
+ <td class="detail">detail</td>
43
+ </tr>
44
+ </table>
45
+ </div>
46
+ </div>
47
+ </div>
48
+ </main>
49
+ </body>
50
+ </html>
14
51
 
15
52
 
16
53
  ```
17
54
 
55
+ ```css
56
+
57
+
58
+ .information {
59
+ font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3",
60
+ "Hiragino Mincho ProN", "HG明朝E", "MS P明朝", "MS 明朝", serif;
61
+ font-weight: normal;
62
+ float: left;
63
+ width: 500px;
64
+ }
65
+
66
+
67
+ caption {
68
+ font-size: 24px;
69
+ font-weight: bold;
70
+ text-align: left;
71
+ padding-bottom: 20px;
72
+ border-bottom: solid 1px #9362c4;
73
+ margin-bottom: 30px;
74
+ }
75
+
76
+ .info1, .info2, .info3 .info4, .detail {
77
+ font-size: 18px;
78
+ padding-bottom: 34px;
79
+ }
80
+
81
+ .info1, .info2, .info3, .info4 {
82
+ text-align: left;
83
+ vertical-align: middle;
84
+ width: 120px;
85
+ box-sizing: border-box;
86
+ }
87
+
88
+ .info1, .info2, .info3, .info4, :before{
89
+ border-right: 1px dashed #9362c4;
90
+ }
91
+
92
+ .detail {
93
+ padding-left: 25px;
94
+ }
95
+
96
+
97
+ ```
98
+
18
99
  ### 試したこと
19
100
 
20
101
 

2

修正中です。。

2018/08/25 10:23

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -11,32 +11,8 @@
11
11
  ### 該当のソースコード
12
12
 
13
13
  ```html
14
- <table class="information">
15
- <caption>詳しい情報</caption>
16
- <tr>
17
- <th class="info1">所在地</th>
18
- <td class="detail">浅草</td>
19
- </tr>
20
- <tr>
21
- <th class="info2">電話番号</th>
22
- <td class="detail"><span class="tell_info">03-1234-5678</span></td>
23
- </tr>
24
- </table>
25
14
 
26
- ```
27
15
 
28
- ```css
29
- .th {
30
- text-align: left;
31
- vertical-align: middle;
32
- width: 120px;
33
- box-sizing: border-box;
34
- }
35
-
36
- th :before{
37
- border-right: 1px dashed #9362c4;
38
- }
39
-
40
16
  ```
41
17
 
42
18
  ### 試したこと

1

html記載

2018/08/25 09:47

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -10,6 +10,22 @@
10
10
 
11
11
  ### 該当のソースコード
12
12
 
13
+ ```html
14
+ <table class="information">
15
+ <caption>詳しい情報</caption>
16
+ <tr>
17
+ <th class="info1">所在地</th>
18
+ <td class="detail">浅草</td>
19
+ </tr>
20
+ <tr>
21
+ <th class="info2">電話番号</th>
22
+ <td class="detail"><span class="tell_info">03-1234-5678</span></td>
23
+ </tr>
24
+ </table>
25
+
26
+ ```
27
+
28
+ ```css
13
29
  .th {
14
30
  text-align: left;
15
31
  vertical-align: middle;
@@ -21,6 +37,8 @@
21
37
  border-right: 1px dashed #9362c4;
22
38
  }
23
39
 
40
+ ```
41
+
24
42
  ### 試したこと
25
43
 
26
44