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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Empty Cells

Status
Not open for further replies.

Louth

Programmer
Jan 21, 2004
16
EU
I'm having a problem with the tables in my database. Any fields which are empty should be diplayed as a cell with a border. However when I have empty fields an empty cell is displayed with no border. Does anybody know how I could fix this problem?

Example code:

<tr>
<td bgcolor='#C8C8C8' width=150>MSN</td>

<td>$msn</td>
</tr>
 

If you insert a non-breaking space, it should solve your problem:

Code:
<td>&nbsp;</td>

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top