【css】ie6下使用css sprit 濾鏡做透明圖片

來源:互聯網
上載者:User

標籤:style   blog   color   使用   os   io   for   ar   

.service{ /*position:relative;*/ height:96% !important;overflow: hidden;}.pright{ height:40px; text-align:right; margin-top:30px; padding-right:50px; overflow:hidden; }.pright .btn_order{ background:url(‘../images/order_icon02.png‘) 0 0 no-repeat; width:170px;margin-top:0px; border:none; height:40px; cursor:pointer;_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=‘../js/images/order_icon02.png‘, sizingMethod=‘image‘); _background-image:none; margin-top:0px; outline:none;}.pright .btn_stop{ background-position:0 -41px;_margin-top:-41px;_margin-bottom:1px;}.pright .btn_order:focus{ border: none; margin-top: 1px;}.layer_center{ width:378px; height:282px; overflow:hidden;  background:url(../images/order_icon01.png) 0 -282px no-repeat; _margin-top:-282px;_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=‘../js/images/order_icon01.png‘, sizingMethod=‘image‘); _background-image:none;}.refuse{ _margin-top:0; background-position: 0 0;}.main_btn{ height:282px; width:378px; overflow: hidden;position:absolute; top:50%; left:50%; margin-left:-189px; margin-top:-211px;}

//ie8下選中按鈕的時候按鈕會向上移動一像素,放開滑鼠按鍵會向下移動1像素  所以寫的 xxx:focus

//ie6下選中按鈕,放開滑鼠後按鈕會向下移動1像素  //_margin-bottom:1px;

//因為ie6下background-image:none;所以background-position不支援   使用margin-top來控製圖片的上下移動

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.