Forum Moderators: not2easy
I have a table in a page I use as the page header- it has a repeating BG image that is dark, with the page title in white over the BG. It works FINE in IE, but in NS (7), I just get a sliver of the BG image, not over the whole table. Here is the code I use now:
For the table banner:
<table CLASS="banner" STYLE="background-image:url(/images/bg.gif)"> <tr>
<td>
<h1 CLASS="mainwhite">My Site Title</h1>
<h2 CLASS="subwhite" STYLE="font-weight: normal; margin-left: 1cm; text-align: left;">
Sub Page Name
</h2>
</td>
</tr>
</table>
CCS Code:
.banner {
font-size:90%;
display:inline;
text-decoration: none;
text-align:center;
font-family:arial, sans-serif;
font-weight:bold;
}
What can I do to make that image appear over the whole BG of the table, and in all browsers?
Thanks!
dave