解決済みなので大変恐縮ですが、
こういうことではないですよね・・?
css
1.test {
2 height:600px;
3 background-color:#A7C3F0;
4 z-index:3;
5 position:relative;
6}
7.test2 {
8 height:400px;
9 background-color:#E9F79B;
10 z-index:1;
11}
12.test3 {
13 height:200px;
14 background-color:#FCDA8F;
15 z-index:1;
16}
17
18.hoge{
19 padding:10px;
20 text-align:center;
21 width:100%;
22 background-color:#F9BCBC;
23 position:fixed;
24 bottom:0;
25 z-index:2;
26}
html
1<div class="test">
2高さを固定にしたい奴
3</div>
4
5<div class="test2">
6その他の要素①
7</div>
8
9<div class="test3">
10その他の要素②
11</div>
12
13<div class="hoge">
14固定にするところ
15</div>
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2015/07/30 14:35
2015/07/31 01:24
2015/07/31 01:29 編集
2015/07/31 03:16