table's wont hold size

  • Thread starter Thread starter debbie
  • Start date Start date
D

debbie

I have a database that presents results in table that I
have formatted. The problem is when someone enters data
into a text box, the text will not wrap it will push the
table all the way to the right. It totally screws up the
look of the page. How can I get the tables to stay still?
 
This requires an old trick. You need to force table cells to a certain width
using transparent images. Create a gif file that is transparent and the size
you need the cell to be. You can them bury it somewhere in the cell, usually
the bottom. This forces the cell to be at least a certain width, and usually
the cell will collapse down upon it. The problem with setting widths for
cells in HTML is they are "recommended" values and not written in stone. The
browser eventually decides and the transparent images sure help it do that.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
But will this trick keep the cell from getting larger?
That's my problem. I understand how a gif can hold a cell
larger but I need the cell to wrap the text like this:

hello, this is how
it shoud look but its
not working.

actually, this is how it turns out and nothing is lined up
 
Back
Top