CSS Multiple Backgrounds not working on IE8

后端 未结 3 829
孤独总比滥情好
孤独总比滥情好 2020-12-18 05:57

I have the following CSS class defined:

.box .login {
    border: 0;
    float: right;
    clear: both;
    height: 48px;
    background: url(../images/submi         


        
3条回答
  •  轮回少年
    2020-12-18 06:49

    Multiple Backgrounds is a CSS3 specification. IE8 DOES NOT understand CSS3, and IE9 for that matter doesn't understand it all. To get it to work in older browsers you'll have to combine the images into one, or overlay multiple elements to get them all to display on top of one another. z-index: is your friend :-)

提交回复
热议问题