[Home]Background images in tables

HomePage | RecentChanges | Preferences | Newbie Help

HTML Tables

Sid Ismail says --

Background in a table - NN quirk
(null.gif is my 1x1 transparent)

<table background="bgyouwant.jpg">
 <tr>
  <td>

<!--  this is your actual table below -->
<table>
 <tr>
  <td background="null.gif">blah blah</td>
  <td background="null.gif">blah blah blah</td>
 </tr>
 <tr>
  <td colspan=2 background="null.gif">blahh blahh</td>
 </tr>
</table>
  
  </td>
 </tr>
</table>

If you do not nest your tables as above, NN will repeat your background in each TD.

 Sid Ismail              Brain cells come and brain cells go,   
 http://fly.to/elsid       but fat cells live forever.

Comments --

For NS, background graphics should most likely be in JPG format, since NS has some problems with using GIF files as table backgrounds.


HomePage | RecentChanges | Preferences | Newbie Help
This page is read-only | View other revisions
Last edited January 20, 2002 9:39 pm (diff)
Search:

This FAQ is happily hosted by Betadome Digital Media