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

Table and Cells

Status
Not open for further replies.

Kjonnnn

IS-IT--Management
Jul 14, 2000
1,145
US
Hello. I am looking for assistance on an old problem. When I edit various cells within a table in Dreamweaver 2004 MX, the cells and even sometimes the tables resize themselves, even though I input definite numerical dimensions for each. Is there some option to keep them from resizing? I hope to escape any sermons that I should not be using tables but CSS.
 
Well you shouldn't be.

But by default tables and cells always grow to fit their content. Even if you specify dimensions, they'll ignore them to accommodate their contents.





----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
I appreciate your response. I DO specify dimenstions for table and cells. If I make a cell 100 by 50, it will resize even if the information DOES NOT fill the cell. And then not only will that cell resize, but any other cells on that row.
 
Cells are linked to each other also.

In other words all cells in a row will be the same height. The height of the taller cell, be it by content, or by specific dimensions.

And All cells in a column will be the same width, the width of the wider cell.

That is to preserve the table, as you can't have tables that have taller columns than others. Or have rows that are longer than others.

So if you have a cell that grows vertically all cells in its row will grow with it. Same if it grows horizontally, all cells in its column will match its width.






----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top