I have a bit of a problem with DIV boxes/containers that are controlled by CSS.
Here's the CSS class:
Code: Select all
.bestsellerheader
{
background-image: url(../images/head_bestsellers.jpg);
background-repeat: no-repeat;
background-color: #EA1C22;
padding-left: 10px;
height: 31px;
font-size: 13px;
padding-top: 5px;
color: #ffffff;
}
Is there a good method to place the text vertically aligned. I have tried vertical-align: middle, but it fails in IE. The text remains at the top of the box.
I'm sure I am not the first to come across this.