<!--[if lte IE 8]>
.food_disp{
background: url("../images/food.png") center bottom no-repeat;
padding: 80px;
}
<![endif]-->
<!--[if !IE]>
.food_disp {
background: url("../images/food.png") center bottom no-repeat;
padding: 50px;
}
<![endif]-->
I have tried the above css to display an image as background with padding set as above. I would like to tell the translator/interpreter that if the client browser version is lower or equal to 8 then add a little more padding distance to the image block for display or if this is not IE at all, then use the already defined block. The image display is fine without the conditional clause added that is, only if
.food_disp {
background: url("../images/food.png") center bottom no-repeat;
padding: 50px;
}
is used. but if the condition is added, then the image disappears.