I'm working on an xslt project which outputs data of indeterminate length into a table. The problem is, for aesthetic purposes, every table row must only be one line high, and must not extend past the side edges of the viewport (no horizontal scroll bars!!).
I've tried using 'nowrap' and setting the width, but the nowrap seems to take precedence and the tables bloat. I've tried setting clipping sizes using CSS, but I can't seem to make it work (it seems current browsers don't support clipping of table cells...).
I could use xslt to truncate the strings before I output them to HTML, but I'm leaving this as a last resort since this doesn't allow the table to be scalable with different users screen sizes (ie. I want them to be able to see as much of the information as possible).
Any suggestions of what I could do instead??
I've tried using 'nowrap' and setting the width, but the nowrap seems to take precedence and the tables bloat. I've tried setting clipping sizes using CSS, but I can't seem to make it work (it seems current browsers don't support clipping of table cells...).
I could use xslt to truncate the strings before I output them to HTML, but I'm leaving this as a last resort since this doesn't allow the table to be scalable with different users screen sizes (ie. I want them to be able to see as much of the information as possible).
Any suggestions of what I could do instead??