I have created a graphic 125px big and made it the background in a table cell, works a treat in firefox but not in IE, it does work ok until I add test in the cell then gets about 20px bigger, here is the code
HTML
<td class="logo_cell" colspan="3"><h1>Web Site name</h1></td>
CSS
.logo_cell{
background:#cc9908 url("../images/header.jpg"); background-repeat: no-repeat;
height:125px;
padding:15px;
}
so thats seems simple enough I thought, if I change the height to 95px then it looks ok, it also views ok until I add text.
Anyone have any ideas why.
Cheers Ian





Bookmarks