Forum Moderators: not2easy
This should be pretty simple so I assume I'm approaching it in the wrong way. I'm setting up a row of icons that need a line of text a few pixels from the bottom of each icon. The icon is set up as cell background like this
<table><tr><td class="icon1">Text here</a></td></tr></table>
and the css is
.icon1{
font-weight:bold;
text-align:center;
background-image: url(icon.jpg);
background-repeat: no-repeat;
width:72px;
height: 92px;
vertical-align:bottom;
padding-bottom:10px;
}
That displays fine in FF and Opera but completely bottom aligned in IE.
Can anyone suggest away of making the text also appear about 10 pixels from the bottom of the icon in IE please?
Cheers!
I always start every new project with all tags set to zero margins and paddings (body, div, ul, li etc). That way it is easier for me to style exactly what I want when I want plus I've fixed a lot of problems I used to encounter with cross browser compatibility because everything starts with zero.