Advertisement

HTML question on Tables

Started by December 21, 2000 01:02 AM
4 comments, last by BalAhan 24 years ago
Alright, I want a table to appear with nothing in it. Say for example I have a 4 cell table and I want all 4 cells to appear on the screen with their borders but nothing in the cells. Any idea on how I can do that?
Just use breaks
instead of text. That should do it.
Advertisement
Something like this will work if you want the height of the cells to be the size of text.

  <table BORDER=1 WIDTH=100%><tr> <td>   </td> <td>   </td> <td>   </td> <td>   </td></tr></table>[/source]That will work, and you can adjust the border and other settings as you want.  Also if you want the height to be a little bigger or smaller you can use the font tag and make the nbsp thing smaller, like this:[source]<td><FONT SIZE=-3> </FONT></td>  
Thanks guys.
Sorry.

Or gals.
quote: Original post by BalAhan

Sorry.

Or gals.


This is how I do it:
      <table border="1">     <tr>          <td>& n s p ;</td>     </tr>     <tr>          <td>& n s p ;</td>     </tr>     <tr>          <td>& n s p ;</td>     </tr>     <tr>          <td>& n s p ;</td>     </tr></table>      


Should work just fine.

EDIT: Having problems getting the breakspaces to show. Should work this time, just remove the spaces between the letters in the TD tags

B e S
It's Da BOMB Baby!!!

Edited by - wrenhal on December 22, 2000 12:11:56 PM

Edited by - wrenhal on December 22, 2000 12:13:50 PM
BeSIt's Da BOMB Baby!!!. o O ~ A little nonsense now and then,is relished by the wisest men~ O o .-- Willy Wonka

This topic is closed to new replies.

Advertisement