Breaking off an overly wide table

Z

Zark3

Hello people,

In my server-side code, i create a table that can potentially grow to
extreme width (each cell containing a word from the database).
Therefore, I want to be able to chop this thing up, but is it possible
to determine the width server-side? Or should this be done client-
side?
The table is structured such that a row contains a (potentially large)
number of words, and that each following row contains translations of
this word. Now, the breakup should ideally be such that the
translation is kept directly under the word. Like this:
A1 A2 A3 A4 A5
B1 B2 B3 B4 B5
should be broken off like:
A1 A2 A3
B1 B2 B3
A4 A5
B4 B5
and -not- like:
A1 A2 A3
A4 A5
B1 B2 B3
B4 B5

I hope I'm explaining well enough :) Does anybody know if it is
possible to code this server-side? If not, can anybody help me to
client-side code? The maximum width of my stylesheet btw is a fixed
700px, it does not need to be dynamic.

Thanks,
Chris
 

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

Top