Jump to content

Working with tables. Fixed width cell.


sepoto

Recommended Posts

Let's say that I specify a fixed width cell like this:<table width="1100" border="2"><tr><td>TitleHere</td><td>AirTime</td><td width="100%">Channels here: 100, 200, 300</td></tr></table>Here is what is happening. Sometimes my list of channels is so long that the size of my table will somehow automatically become much wider than I want it to be. The channels cell never goes to a new line like I would want it to. I thought if I specified a width for my table that it would stay at that width but that does not seem to be the case. Can someone provide some more information?Thank you.

Link to comment
Share on other sites

Try giving the cell a width other than 100%. It's trying to make the cell 100% of its parent's width (ie, the table's width[well, technically the row, but you get the idea]) which it can't do because there are other cells in that row.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...