HTML tables

L

l612

Hi,

Is there any possibility to have an html table "row" that spreads over
more than one line ?

A row with many columns ordinarily leads to an horizontal scrollbar. A
carriage return would be better. But simply closing the row and opening
a new row implies that in the first column, the two cells from the two
rows have the same width, ie probably the same type, on so on for the
second, third ... columns. A possibility one might think about would be
to open a new table for each line, which eliminates the first problem.
But the theader and tfoot functionality is lost in this case, not to
mention other misalignments problems due to the navigator's width
determination algorithm.

Any idea would be greatly appreciated.

Loïc
 
O

Owen Jacobson

Hi,

Is there any possibility to have an html table "row" that spreads over
more than one line ?

A row with many columns ordinarily leads to an horizontal scrollbar. A
carriage return would be better. But simply closing the row and opening
a new row implies that in the first column, the two cells from the two
rows have the same width, ie probably the same type, on so on for the
second, third ... columns. A possibility one might think about would be
to open a new table for each line, which eliminates the first problem.
But the theader and tfoot functionality is lost in this case, not to
mention other misalignments problems due to the navigator's width
determination algorithm.

Your main objection seems to be the horizontal scrollbar that comes up for
wide content. Unless you're doing something else to make the rest of your
content wider, the table should be the only element wider than the
viewport[0]. Personally, I don't see that as a problem.

[0] Asciimatic diagram:

+--viewport--------+
| text text text |
| words words text |
| |
| ---table-------------------------- this is the only horizontal
| | column 1 | column 2 | column n | <-- scrolling part, the rest of
| ---------------------------------- the page fits in one screen
| |
| next paragraph |
| of more text |
+------------------+
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top