Let's take 4 table columns - ID
, Text
, Date
, Action
. In my case table have always constant width - in example 960px.
How can I create such table as :
*-*------------------------------------*----------*----*
|1| Some text... |May 2011 |Edit|
*-*------------------------------------*----------*----*
|2| Another text... |April 2011|Edit|
*-*------------------------------------*----------*----*
As we can see, ID
, Date
and Action
adjust their width to content, Text
is as long as possible....
Is that possible to do without setting specific width of columns ? When ID
= 123 or Date
= November 2011, columns should automatically be wider...