回答編集履歴
1
内容修正・追記
answer
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
IEですと、position要素を設定したときにずれてしまうという事例がWebでも多く散見されます。
|
1
|
+
EdgeやIEですと、position要素を設定したときにずれてしまうという事例がWebでも多く散見されます。
|
2
2
|
下記のサイトで詳しく書かれていますので、参考にしてみください。
|
3
3
|
[
|
4
4
|
position:absolute は位置指定をしていないと親要素の影響で思わぬ動きをするときがある、という話](https://tomotan.hateblo.jp/entry/position-relative-absolute)
|
@@ -8,9 +8,11 @@
|
|
8
8
|
```CSS
|
9
9
|
header{
|
10
10
|
position: fixed;
|
11
|
+
/*以下同様のCSS*/
|
11
12
|
}
|
12
13
|
footer {
|
13
|
-
position: fixed;
|
14
|
+
position: fixed;
|
15
|
+
/*以下同様のCSS*/
|
14
16
|
}
|
15
17
|
|
16
18
|
```
|