質問編集履歴

1

回答の1つよりCSSに原因がある可能性があるので、CSSファイルを掲載。

2018/08/30 13:51

投稿

Seiten_Minagawa
Seiten_Minagawa

スコア58

test CHANGED
File without changes
test CHANGED
@@ -54,6 +54,86 @@
54
54
 
55
55
 
56
56
 
57
+ ```CSS
58
+
59
+ body
60
+
61
+ {
62
+
63
+ background-color:black;
64
+
65
+ color:white;
66
+
67
+ }
68
+
69
+
70
+
71
+ .box
72
+
73
+ {
74
+
75
+ width:400px;
76
+
77
+ text-align:right;
78
+
79
+ }
80
+
81
+
82
+
83
+ .rightalign
84
+
85
+ {
86
+
87
+ text-align:right;
88
+
89
+ }
90
+
91
+
92
+
93
+ .player1
94
+
95
+ {
96
+
97
+ color:deepskyblue;
98
+
99
+ }
100
+
101
+
102
+
103
+ .player2
104
+
105
+ {
106
+
107
+ color:red;
108
+
109
+ }
110
+
111
+
112
+
113
+ .player3
114
+
115
+ {
116
+
117
+ color:lime;
118
+
119
+ }
120
+
121
+
122
+
123
+ .player4
124
+
125
+ {
126
+
127
+ color:yellow;
128
+
129
+ }
130
+
131
+
132
+
133
+ ```
134
+
135
+
136
+
57
137
  ### 試したこと
58
138
 
59
139
  linkのhrefの「style.css」の前に、「./」を付けたりした(逆にエラーが発生し、動作しなくなった)。