質問編集履歴

3

文章の修正

2016/12/30 04:38

投稿

R_K0712
R_K0712

スコア15

test CHANGED
File without changes
test CHANGED
@@ -9,6 +9,8 @@
9
9
 
10
10
 
11
11
  HTMLとCSSのコードはこんな感じです。
12
+
13
+
12
14
 
13
15
  ```HTML
14
16
 
@@ -40,47 +42,11 @@
40
42
 
41
43
  </html>
42
44
 
43
-
44
-
45
45
  ```
46
-
47
- ```CSS
48
-
49
- .title {
50
-
51
- color: orange;
52
-
53
- background-image: url(HiroHeader.jpg);
54
-
55
- width: 1350px;
56
-
57
- height: 250px;
58
-
59
- padding-top: 100px;
60
-
61
- padding-left: 50px;
62
-
63
- text-align: center;;
64
-
65
- background-position: center;
66
-
67
- background-image: url(HiroHeader.jpg);
68
46
 
69
47
 
70
48
 
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
- }
80
-
81
-
82
-
83
- 全体はこんな感じです。
49
+ ```CSS
84
50
 
85
51
  @charset "UTF-8";
86
52
 

2

コードの掲載

2016/12/30 04:37

投稿

R_K0712
R_K0712

スコア15

test CHANGED
File without changes
test CHANGED
@@ -8,7 +8,43 @@
8
8
 
9
9
 
10
10
 
11
- ヘッダーのコードだけだとこんな感じです。
11
+ HTMLとCSSのコードこんな感じです。
12
+
13
+ ```HTML
14
+
15
+ <!DOCTYPE html>
16
+
17
+ <html lang="ja">
18
+
19
+ <header>
20
+
21
+ <link rel="stylesheet" type="text/css" href="Hiro's.css" media="all">
22
+
23
+ <h1 class="title">Hiro's site</h1>
24
+
25
+ <style type="text/css"><!--
26
+
27
+ body { margin:0px; }
28
+
29
+ --></style>
30
+
31
+ </header>
32
+
33
+ <section>
34
+
35
+ <h2>このサイトについて<h2>
36
+
37
+ <p>
38
+
39
+ </section>
40
+
41
+ </html>
42
+
43
+
44
+
45
+ ```
46
+
47
+ ```CSS
12
48
 
13
49
  .title {
14
50
 
@@ -94,4 +130,8 @@
94
130
 
95
131
 
96
132
 
133
+
134
+
97
135
  }
136
+
137
+ ```

1

コードの表示

2016/12/30 04:35

投稿

R_K0712
R_K0712

スコア15

test CHANGED
File without changes
test CHANGED
@@ -5,3 +5,93 @@
5
5
  ![イメージ説明](cae600b84398e8d88e2b6ae09a702d84.png)
6
6
 
7
7
  どうすれば上はプラウザビューにくっつきますか?
8
+
9
+
10
+
11
+ このヘッダーのコードだけだとこんな感じです。
12
+
13
+ .title {
14
+
15
+ color: orange;
16
+
17
+ background-image: url(HiroHeader.jpg);
18
+
19
+ width: 1350px;
20
+
21
+ height: 250px;
22
+
23
+ padding-top: 100px;
24
+
25
+ padding-left: 50px;
26
+
27
+ text-align: center;;
28
+
29
+ background-position: center;
30
+
31
+ background-image: url(HiroHeader.jpg);
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+ }
44
+
45
+
46
+
47
+ 全体はこんな感じです。
48
+
49
+ @charset "UTF-8";
50
+
51
+ html {
52
+
53
+ background-image: url(SunBeams.png);
54
+
55
+ -webkit-background-size: cover;
56
+
57
+ -moz-background-size: cover;
58
+
59
+ -o-background-size: cover;
60
+
61
+ background-size: cover;
62
+
63
+ background-attachment: fixed;
64
+
65
+ }
66
+
67
+ .title {
68
+
69
+ color: orange;
70
+
71
+ background-image: url(HiroHeader.jpg);
72
+
73
+ width: 1350px;
74
+
75
+ height: 250px;
76
+
77
+ padding-top: 100px;
78
+
79
+ padding-left: 50px;
80
+
81
+ text-align: center;;
82
+
83
+ background-position: center;
84
+
85
+ background-image: url(HiroHeader.jpg);
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ }