I am encountering an issue with a basic table on my HTML page. The format is quite simple:
+++++++++++++++++++++++++++++++++++++++++
+Col1 + Col2 + Col3 + Col4 + Col5 + Col6+
+++++++++++++++++++++++++++++++++++++++++
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+ + + + + + +
+++++++++++++++++++++++++++++++++++++++++
Although all rows contain text, when the content in Col6
exceeds the space allocated for it, the row expands to 2 lines, causing text in other columns to break into 2 lines as well.
For example, if Col2
had the text: Some-text-in-here
, it would be displayed as:
Some-text
in-here
This situation is not desirable.
How can I address this issue using arrays so that the size of each column is unaffected by the content of other columns?