Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape TAble Background Image 1

Status
Not open for further replies.

aleci

Programmer
May 22, 2001
40
GB
Hi all,
This should be a simple one for any Netscape experts out there.
I want to know if I have to do anything particular to the syntax when trying to include a Background image in a table.

Its the same old story: All works well in IE but when i come to view my table in N4.78 the background image repeats itself for every <tr> in my table!

Here is a small portion:

<TABLE width=280 background=&quot;pics/graphic2.gif&quot; border=0 HEIGHT = &quot;275&quot;>
<tr><td width=15>
<i class=&quot;a&quot;>&nbsp;</i></td>
<td width=265>
<table width=265>
<tr height=40>
<td valign=bottom>
<i class=&quot;a&quot;><b>Please add another ticket</b></i>
</td></tr>
.
.
.
Does anybody know a solution?
Thanks in advance

 
I have a hack for you. Nest this table inside another table and put the background image in that td. Put a spacer gif as the background image of your main table.

ie
<table>
<tr>
<td background=&quot;pics/graphic2.gif&quot;>
<table background=&quot;spacer.gif&quot;..

Don't know why but it works.

Cheers,

Tom

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top