回答編集履歴
1
CSSの中央部分変更
answer
CHANGED
@@ -44,13 +44,23 @@
|
|
44
44
|
background-color:red; /*なんで赤くならないの? */
|
45
45
|
}
|
46
46
|
#footer-middle{
|
47
|
-
position:
|
47
|
+
position: absolute;
|
48
|
-
top:
|
48
|
+
top: 20px;
|
49
|
+
left: calc( ( 100% - 500px ) / 2 );
|
49
|
-
margin:
|
50
|
+
margin: auto;
|
50
51
|
width:500px;
|
51
|
-
height: calc( 100% -
|
52
|
+
height: calc( 100% - 40px );
|
52
53
|
background-color:white;
|
53
54
|
}
|
55
|
+
#footer-middle-one {
|
56
|
+
float:left;
|
57
|
+
text-align: left;
|
58
|
+
width: 174px;
|
59
|
+
}
|
60
|
+
#footer-middle-two{
|
61
|
+
float:left;
|
62
|
+
text-align: left;
|
63
|
+
}
|
54
64
|
#footer-right{
|
55
65
|
float:right;
|
56
66
|
margin: auto;
|