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

回答編集履歴

1

typo

2015/09/16 09:28

投稿

Lhankor_Mhy
Lhankor_Mhy

スコア37460

answer CHANGED
@@ -2,9 +2,6 @@
2
2
  CSSを以下のように変更。
3
3
  ```CSS
4
4
  #contactArea {
5
- top:100px
6
- position: absolute;
7
- z-index: 1;
8
5
  width: 100%;
9
6
  height: calc(100% - 125px);
10
7
  background:#ffebcd;
@@ -18,9 +15,6 @@
18
15
  [calcのブラウザ対応](http://caniuse.com/#feat=calc)が気になるならマイナスマージンを使えばそれっぽくなるかもしれません。
19
16
  ```CSS
20
17
  #contactArea {
21
- top:100px
22
- position: absolute;
23
- z-index: 1;
24
18
  width: 100%;
25
19
  height: 100%;
26
20
  background:#ffebcd;