2013-07-30 87 views

回答

0

試試這個

http://jsfiddle.net/RVH8D/6/

CSS

.chzn-results li { 
    background: url('http://placekitten.com/20/20') no-repeat 3px center; 

} 
li.active-result { 
    padding-left: 12px;  
} 
.chzn-results, .chzn-single { 
    font-family: Arial;  
} 
.chzn-container .chzn-results li{padding-left: 25px;} 
1

用於本background比使用all properties

.chzn-results li { 
    background: url('http://placekitten.com/20/20') no-repeat 3px center; 
    padding-left: 12px; 
} 

==========

如果您正在使用

background-image: 

比用於這樣

.chzn-results li{ 
background-image: url('http://placekitten.com/20/20'); 
background-repeat:no-repeat; 
background-position:3px center; 
} 

Demo