Public news / August 2006 / Show Tabular Data
Show Tabular Data
hmm a new way of displaying turbulant data
10 aug at 09:32 by Fransjo Leihitu
There are 8 guest comments so far.
Search the archive
Stylegala news archive
- July 2008 [33]
- June 2008 [46]
- May 2008 [5]
- April 2008 [5]
- March 2008 [3]
- February 2008 [4]
- January 2008 [7]
- December 2007 [3]
- November 2007 [8]
- October 2007 [17]
- September 2007 [12]
- August 2007 [12]
- July 2007 [12]
- June 2007 [11]
- May 2007 [25]
- April 2007 [17]
- March 2007 [19]
- February 2007 [19]
- January 2007 [23]
- December 2006 [15]
- November 2006 [23]
- October 2006 [39]
- September 2006 [29]
- August 2006 [50]
- July 2006 [38]
- June 2006 [29]
- May 2006 [27]
- April 2006 [50]
- March 2006 [38]
- February 2006 [38]
- January 2006 [65]
- December 2005 [45]
- November 2005 [41]
- October 2005 [44]
- September 2005 [46]
- August 2005 [42]
- July 2005 [32]
- June 2005 [36]
- May 2005 [55]
- April 2005 [50]
- March 2005 [37]
- February 2005 [65]
- January 2005 [94]
- December 2004 [61]
- November 2004 [67]
- October 2004 [12]
- September 2004 [1]
Public news archive
- July 2008 [72]
- June 2008 [115]
- May 2008 [126]
- April 2008 [77]
- March 2008 [69]
- February 2008 [80]
- January 2008 [72]
- December 2007 [35]
- November 2007 [54]
- October 2007 [66]
- September 2007 [51]
- August 2007 [65]
- July 2007 [58]
- June 2007 [68]
- May 2007 [87]
- April 2007 [75]
- March 2007 [65]
- February 2007 [62]
- January 2007 [68]
- December 2006 [52]
- November 2006 [51]
- October 2006 [73]
- September 2006 [52]
- August 2006 [85]
- July 2006 [57]
- June 2006 [67]
- May 2006 [103]
- April 2006 [77]
- March 2006 [93]
- February 2006 [99]
- January 2006 [111]
- December 2005 [104]
- November 2005 [83]
- October 2005 [125]
- September 2005 [106]
- August 2005 [94]
- July 2005 [103]
- June 2005 [79]
- May 2005 [79]
- April 2005 [65]
- March 2005 [47]
- February 2005 [35]
- January 2005 [22]
- December 2004 [31]
- November 2004 [37]
News contributors
Features
- Stylegala BookStore
- The Stylegala BookStore has a massive archive of great books for you as a professional..
- Bullet madness
- Bullet madness is a list of 200 bullets, arrows and icons uploaded by our users.
- CSS Reference
- An alphabetical list over the most common CSS1 and CSS2 syntax and properties.
Sponsors

This seems pretty absurd to me - a lot of work and some fairly dodgy practices (using readonly input elements to display data, inline event handlers, fixed column widths) - for a very minor problem - and is the 'problem' of differing cell heights really that big a deal for anybody? Would they really prefer to have to manually scroll inside each cell instead, one at a time?
In the era of standards...this is a sloppy technique.
I think I get what you're trying to acheive, but wouldn't it be much simpler to set a width and height and overflow to hidden?
I think it's a solid idea. I disagree that the problem is minor. When developing a dynamic (data-based) page, there are times when the values can be of any length and sometimes they get much too long for the available space. In this case you either truncate the text (bad) or you have to come up with some snazzy way of making the entire text/description/title/name available to the user.
Now, as for his techniques, they are a bit dodgy/sloppy, but I think it is probably worth improving upon for all you super-duper programmers.
where is the finished example?
"In this case you either truncate the text (bad) or you have to come up with some snazzy way of making the entire text/description/title/name available to the user."
Or you increase the height of the table cell, while perhaps using vertical-align: top in your CSS to keep things neat and tidy. If it's a dynamic, data-driven table then you probably can't guarantee the height of the page or table anyway so the possibility of it 'not fitting in the available space' seems remote to me - the page should already be able to accomodate it.
I just can't see how that solution is not preferable to this bizarre combination of script, form fields and unintuitive widgets and behaviours. Can you imagine actually trying to read lots of data like this, having to scroll each cell that had overflown?
David - there's a downloadable zip mentioned on the last page of the tutorial, that contains the finished example.
I can't realy see the point in this, not only is it extremely clunky in it's execution, it's not that intuitive and breaks if javascript is disabled.
I'm also wandering how often the problem of text with no spaces being too long for the containing cell actually occurs, or indeed why this method is prefereable to using overflow: auto and having scrollbars on the cell?
Arrows don't appear in correct place in Safari. I agree that this solution is a clunky one.
Add a comment:
Keep the comment relevant, constructive and be polite.
A valid email address or URL to your site must be provided, or the comment might get deleted. Content seemed inappropriate or offensive may be edited and/or deleted. Avoid explicit language and words such as "sucks" and "ripoff". For more in-depth discussions use our forum. Email addresses are never displayed. Line breaks and paragraphs are automatically converted - no need to use <p> or <br/>. Quotes & apostrophes are automatically converted to smart punctuation. Be careful when copying and pasting portions of entries or other comments. The following inline HTML elements may be used: <strong><em><pre><q><blockquote><code>. All other code will get removed before posting. Don't forget to close your tags.