Thread: Table problems
View Single Post
Old 04-04-2003, 07:52 AM   #7 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,489
sde is on a distinguished road
here's 2 methods of filling empty cells:

method 1.
PHP Code:
<table border=0 cellspacing=5 cellpadding=0>
<
tr>
  <
td>&nbsp;</td>
  <
td>The last cell was empty</td>
</
tr>
</
table
the above method will work, but there is a limitation on how low the height parameter can be. the next method will solve that.

for the next one you must create a transparent gif 1 pixel by 1 pixel. lets call it "spacer.gif"

method 2.
PHP Code:
<table border=0 cellspacing=5 cellpadding=0>
<
tr>
  <
td><img src=spacer.gif width=1 height=1></td>
  <
td>The last cell was empty</td>
</
tr>
</
table
hope this helps.
sde is offline   Reply With Quote