css屏幕大小的容器,位置2箭头固定到CSS页面容器的外部 - 屏幕大小
我想創(chuàng)建一個HTML頁面滑塊,所以我有我的容器div,然后坐在外面,在左邊我有一個Previous圖標(biāo)和右側(cè)我有一個下一個圖標(biāo)。位置2箭頭固定到CSS頁面容器的外部 - 屏幕大小
我的問題是,當(dāng)我將窗口調(diào)整為較小的屏幕時,圖標(biāo)會移動到容器的中心,我希望它們在調(diào)整大小時始終保持位置固定在容器的外部。
我的容器代碼: -
width: 960px;
margin: 0 auto;
clear: both;
overflow: hidden;
min-height: 449px;
下一個和以前的代碼:
a.vehicleSliderLeft {background: url('../img/slider_arrow_left.png');
width: 55px; height: 112px; left: 270px; background-position:0px;
background-repeat: no-repeat; position: fixed; top: 420px;}
a.vehicleSliderRight {background: url('../img/slider_arrow_right.png');
width: 55px; height: 112px; right: 270px; background-position:0px;
background-repeat: no-repeat; position: fixed; top: 420px;}
任何想法?歡呼聲
2012-12-03
John
總結(jié)
以上是生活随笔為你收集整理的css屏幕大小的容器,位置2箭头固定到CSS页面容器的外部 - 屏幕大小的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 计算机栈是什么,什么是数据栈?——线性表
- 下一篇: AJAX框架衣柜内部结构,揭秘最实用的衣