css - why does this background image work in Chrome and FF but not IE 8? -


css

.arrow { background:url(images/arrow.png) center left no-repeat; padding-left:23px; padding-right:10px; border-right:0px solid #e6e6e6; margin-right:10px; } 

html

<div class="arrow"><h3>technical documentation</h3></div> 

it works fine in ff , chrome. style being applied in ie, know because see padding, however, image not appear.

this incorrect syntax, please try:

background: #000 url(images/arrow.png) center left no-repeat; 

Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -