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

質問編集履歴

3

「試したこと」を追記しました。

2019/04/18 14:59

投稿

bussyaah
bussyaah

スコア16

title CHANGED
File without changes
body CHANGED
@@ -18,6 +18,10 @@
18
18
  ・Chromeの設定でキャッシュを消去
19
19
  ・Bracketsの再起動
20
20
  ・パソコンの再起動
21
+ [追記]
22
+ ・htmlファイルをブラウザにドロップ
23
+ ・WEBサーバーにアップしてブラウザでURLアクセス(ロゴ以外の画像が表示されない)
24
+ ・Chromeの319MBのキャッシュデータを削除
21
25
 
22
26
  参考書
23
27
  HTML&CSSとWebデザインが 1冊できちんと身につく本 服部 雄樹 (著)

2

問題のライブプレビュー画像をUPしました。

2019/04/18 14:59

投稿

bussyaah
bussyaah

スコア16

title CHANGED
File without changes
body CHANGED
@@ -11,26 +11,13 @@
11
11
  ライブプレビューが上手く反映されずに学習を進めてもイライラして進まないので
12
12
  とても困っています。
13
13
 
14
- ![イメージ説明](cf86478cb69f7da23c52ae37c6c6f6ec.jpeg)
15
- ### 発生している問題・エラーメッセージ
16
14
 
17
- ```
18
- エラーメッセージ
19
- ```
20
-
21
- ### 該当のソースコード
22
-
23
- ```ここに言語名を入力
24
- ソースコード
25
- ```
26
-
27
15
  ### 試したこと
28
16
 
29
17
  ・再読み込みボタンを右クリックして”キャシュの消去とハードの再読み込み”
30
18
  ・Chromeの設定でキャッシュを消去
31
19
  ・Bracketsの再起動
32
20
  ・パソコンの再起動
33
- ### 補足情報(FW/ツールのバージョンなど)
34
21
 
35
22
  参考書
36
23
  HTML&CSSとWebデザインが 1冊できちんと身につく本 服部 雄樹 (著)
@@ -284,6 +271,6 @@
284
271
  border: 1px solid #cccccc;
285
272
  }
286
273
  ```
287
-
274
+ ![問題が起きているライブプレビュー画面](5e8856d2bcdf0a09386c8f87785cb4a2.jpeg)
288
275
  ![ホームページロゴマーク](382645b0dd57c29dbb3fb1f9e224739c.png)
289
276
  ![背景使用画像](6796034afc6b1467ddaac595e9ddeb4f.jpeg)](3679c8a29f614450cdf08328e07b770c.jpeg)

1

コードを開示しました。

2019/04/18 13:14

投稿

bussyaah
bussyaah

スコア16

title CHANGED
File without changes
body CHANGED
@@ -1,4 +1,4 @@
1
- ### 前提・実現したいこと
1
+ ```### 前提・実現したいこと
2
2
 
3
3
  はじめまして。bussyaah(ぶっしゃー!)と申します。
4
4
  よろしくお願いいたします。
@@ -34,4 +34,256 @@
34
34
 
35
35
  参考書
36
36
  HTML&CSSとWebデザインが 1冊できちんと身につく本 服部 雄樹 (著)
37
- https://gihyo.jp/book/2017/978-4-7741-9064-8
37
+ https://gihyo.jp/book/2017/978-4-7741-9064-8
38
+
39
+ ```ここに言語を入力
40
+ ```<!doctype html>
41
+ <html>
42
+ <head>
43
+ <meta charset="utf-8">
44
+ <title>ポートフォリオ 【 ちーたくん 】</title>
45
+ <link href="https://fonts.googleapis.com/css?family=Bitter:400,700" rel="stylesheet">
46
+ <link href="css/style.css" rel="stylesheet">
47
+ </head>
48
+ <body id="index">
49
+ <header>
50
+ <div class="logo">
51
+ <a href="index.html"><img src="images/logo.png" alt="SNAPPERS"></a>
52
+ </div>
53
+ <nav>
54
+ <ul class="global-nav">
55
+ <li><a href="portfolio.html">Portfolio</a></li>
56
+ <li><a href="about.html">About</a></li>
57
+ <li><a href="contact.html">Contact</a></li>
58
+ </ul>
59
+ </nav>
60
+ </header>
61
+ <div id="wrap">
62
+ <div class="content">
63
+ <h1>Expression is <br>my identity, Design! Design!</h1>
64
+ <p>ご覧くださいまして、ありがとうございます。<br>このwebサイトは、【 ちーたくん 】のポートフォリオサイトです。</p>
65
+ <p class="btn"><a href="portfolio.html">My portfolio</a></p>
66
+ </div>
67
+ </div>
68
+ <footer>
69
+ <small>(C)2019 cheeta - kun.</small>
70
+ </footer>
71
+ </body>
72
+ </html>
73
+ ```
74
+
75
+
76
+ ``````ここに言語を入力
77
+ @charset "utf-8";
78
+
79
+ body {
80
+ margin: 0;
81
+ padding: 0;
82
+ background-color: #cccccc;
83
+ color: #333333;
84
+ font-size: 15px;
85
+ line-height: 2;
86
+ }
87
+
88
+ p,h1,h2,h3,h4,h5,h6{
89
+ margin-top: 0;
90
+ }
91
+
92
+ img{
93
+ vertical-align: bottom;
94
+ }
95
+
96
+ ul {
97
+ margin: 0;
98
+ padding: 0;
99
+ }
100
+
101
+ a {
102
+ color: #3583aa;
103
+ text-decoration: none;
104
+ }
105
+
106
+ a:visited{
107
+ color: #788d98;
108
+ }
109
+
110
+ a:hover{
111
+ text-decoration: underline;
112
+ }
113
+
114
+ header{
115
+ width: 960px;
116
+ height: 100px;
117
+ margin: 0 auto;
118
+ }
119
+
120
+ .logo{
121
+ float: left;
122
+ margin-top: 50px;
123
+ }
124
+
125
+ .global-nav{
126
+ float: right;
127
+ margin-top: 60px;
128
+ }
129
+
130
+ .global-nav li{
131
+ float: left;
132
+ margin: 0 20px;
133
+ font-size: 20px;
134
+ list-style: none;
135
+ font-family: 'Bitter', serif;
136
+ }
137
+
138
+ .gloval-nav li a{
139
+ color: #ffffff;
140
+ }
141
+
142
+ .gloval-nav li a:hover{
143
+ border-bottom: 2px solid #ffffff;
144
+ padding-bottom: 3px;
145
+ text-decoration: none;
146
+ }
147
+
148
+ #wrap{
149
+ clear: both;
150
+ background-color: #ffffff;
151
+ margin-top: 220px;
152
+ padding: 35px 0;
153
+ }
154
+
155
+ .content{
156
+ width: 960px;
157
+ margin: 0 auto;
158
+ }
159
+
160
+ footer{
161
+ text-align: center;
162
+ color: #ffffff;
163
+ padding: 20px 0;
164
+ }
165
+
166
+ footer small{
167
+ font-size: 12px;
168
+ }
169
+
170
+ #index h1{
171
+ font-size: 100px;
172
+ line-height: 1;
173
+ color: #ffffff;
174
+ font-family: 'Bitter', serif;
175
+ margin-bottom: 50px;
176
+ }
177
+
178
+ #index .content{
179
+ margin-top: 150px;
180
+ }
181
+
182
+ #index p{
183
+ font-size: 16px;
184
+ color: #ffffff;
185
+ }
186
+
187
+ .btn a{
188
+ background-color: #009cd3;
189
+ color: #ffffff;
190
+ font-size: 20px;
191
+ font-family: 'Bitter', serif;
192
+ width: 185px;
193
+ display: block;
194
+ text-align: center;
195
+ line-height: 50px;
196
+ margin-top: 20px;
197
+ border-radius: 5px;
198
+ border: 3px solid #009cd3;
199
+ }
200
+
201
+ .btn a:hover{
202
+ text-decoration: none;
203
+ background-color: #ffffff;
204
+ color: #009cd3;
205
+ }
206
+
207
+ #index footer{
208
+ width: 960px;
209
+ margin: 150px auto 0 auto;
210
+ text-align: left;
211
+ }
212
+
213
+ #index{
214
+ background-image: url(../images/bg-index.jpg);
215
+ background-repeat: no-repeat;
216
+ background-position: center center;
217
+ background-attachment: fixed;
218
+ background-size: cover;
219
+ }
220
+
221
+ #about{
222
+ background-image: url(../images/bg-about.jpg);
223
+ background-repeat: no-repeat;
224
+ background-position: center top;
225
+ background-attachment: fixed;
226
+ background-size: 100% auto;
227
+ }
228
+ .main-center{
229
+ width: 940px;
230
+ margin: 0 auto;
231
+ }
232
+
233
+
234
+ h1{
235
+ font-family: 'Bitter', serif;
236
+ font-size: 36px;
237
+ border-bottom: 1px solid #cccccc;
238
+ }
239
+
240
+ h2{font-family: 'Bitter', serif;
241
+ font-size: 24px;
242
+ }
243
+
244
+
245
+ .icon:before{
246
+ content: "";
247
+ padding-right: 10px;
248
+ border-left: 7px solid #9cb4a4;
249
+ }
250
+
251
+ #about .profile-txt{
252
+ width: 540px;
253
+ float: left;
254
+ }
255
+
256
+ #about .profile-txt span{
257
+ font-weight: bold;
258
+ }
259
+
260
+ #about .profile-image{
261
+ float: right;
262
+ }
263
+
264
+ .clearfix:after{
265
+ content:"";
266
+ display:block;
267
+ clear: both;
268
+ }
269
+
270
+ section{
271
+ margin-bottom: 35px;
272
+ }
273
+
274
+ #about .career th{
275
+ width: 240px;
276
+ background-color: #f0f0f0;
277
+ padding: 12px 0;
278
+ border: 1px solid #cccccc;
279
+ }
280
+
281
+ #about .career td{
282
+ width: 660px;
283
+ padding 12px 0 12px 40px;
284
+ border: 1px solid #cccccc;
285
+ }
286
+ ```
287
+
288
+ ![ホームページロゴマーク](382645b0dd57c29dbb3fb1f9e224739c.png)
289
+ ![背景使用画像](6796034afc6b1467ddaac595e9ddeb4f.jpeg)](3679c8a29f614450cdf08328e07b770c.jpeg)