Hi All,
I have a nice easy table and/or CSS formatting problem for any gurus out
there.
I have a table with 4 columns - no "width" attribute on anything.
Some rows have 4 cells in (call these type A) and some have colspan=4 (type
B)
Some type B rows have much more text than all the type A cells put together.
When this happens, the total width of the table expands (which is good) but
it expands all the 4 columns evenly and this makes the type A rows look
wrong. I would like to have the 4th column (or possibly an extra 5th column)
take up all the slack so that the type A rows have their width the same as
if the type B row only had a short value in it.
Any ideas? - I've tried putting in a 5th column with width=100% but this
causes the first 4 columns to break into multiple lines whenever there is a
space.
I have a nice easy table and/or CSS formatting problem for any gurus out
there.
I have a table with 4 columns - no "width" attribute on anything.
Some rows have 4 cells in (call these type A) and some have colspan=4 (type
B)
Some type B rows have much more text than all the type A cells put together.
When this happens, the total width of the table expands (which is good) but
it expands all the 4 columns evenly and this makes the type A rows look
wrong. I would like to have the 4th column (or possibly an extra 5th column)
take up all the slack so that the type A rows have their width the same as
if the type B row only had a short value in it.
Any ideas? - I've tried putting in a 5th column with width=100% but this
causes the first 4 columns to break into multiple lines whenever there is a
space.
Comment