PDA

View Full Version : Column Widths


falcon
10-11-2007, 03:43 PM
Using Dreamweaver 8, I have a table on a
form that has 7 columns (a week calander).
I have set the table so the the columns widths
are fixed and even measured them precisely
to make sure they all fit within the table width
as a whole, including the grid spacers.

The problem is that when run, the column widths
are not fixed and they vary according to some-
things I cannot determine. One column may have
text in it and be sized correctly and another
might be blank and be to narrow or too wide
the text seems to be wrapping correctly, although
somehow, this might be the problem although I
can yet determine how.

Jay
P.C.I.

Jittor
10-11-2007, 04:10 PM
Instead of having the text wrap, try using <br /> in the code view or shift and enter where you think it should start a new line. You are finding out the hard way why most people don't like and don't use tables anymore. Usually it is the text that is messing it all up.

tux
10-12-2007, 10:52 AM
If it doesnt mess up your layout try adding an extra row and adding a transparent gif image in each cell and make it the minimum width you want each cell. This will stop the cell collapsing if the contents are too small.

Hope this helps, regards

Paul