View Single Post
  #8   Spotlight this post!  
Unread 03-12-2003, 13:45
leo_singer's Avatar
leo_singer leo_singer is offline
Registered User
#1111 (Seahawks)
Team Role: Programmer
 
Join Date: Mar 2003
Rookie Year: 2003
Location: Edgewater, MD
Posts: 15
leo_singer is an unknown quantity at this point
Why no one is seeing anything

The reason it doesn't show up in some browsers is that some browsers skip over rendering table datum (<td>...</td>) elements if they are empty. One common solution if you need an empty table cell that just takes up space and contains a colored background is to put a nonbraking space inside, like this:

<td>&nbsp;</td>

By the way, with a program like this you might try implementing a GIF-style lossless compression scheme, whereby if you have several identical adjacent pixels you represent it as a single <td>...</td> with the width attribute greater than 1.