A lot of people still use tables to layout controls, data etc. – one example of this is the popular jqGrid. However, there is some magic happening that I cant seem to fathom (its tables for crying out loud, how much magic could there possibly be?)
How is it possible to set a table’s column width and have it obeyed like jqGrid does!? If I try to replicate this, even if I set every <td style="width: 20px">
, as soon as the content of one of those cells is greater than 20px, the cell expands!
Any ideas or insights?