tags:

views:

63

answers:

1

i have the following script

css:
img
{
    background-image:url("man.png");
    background-repeat:no-repeat;
    padding-top:6px;
    padding-bottom:60px;
    padding-left:10px;
    padding-right:10px;
    margin-right:5px;
    border: 0;

}

it works fine in all browsers, but in IE doesn't. could you tall me why? thanks

+2  A: 

When applying a background image to an <img> tag, add display: block; to your CSS.

Ron DeVera