http://www.quirksmode.org/css/quirksmode.html
Also, you probably have to set the "table-layout: fixed;" style in the table so that it uses the columns' width instead of the table's width when computing the actual table width On 7/10/07, Tathagat <[EMAIL PROTECTED]> wrote:
I am working on IE 7 and firefox. On both it has no effect. What do you mean by IE compatibility mode and how do I set it? Thanks! On 7/10/07, Andrew Robinson <[EMAIL PROTECTED]> wrote: > Are you in IE compatibility mode or quirks mode? > > I think you have to be compatibility mode for it to work. > > On 7/10/07, Tathagat <[EMAIL PROTECTED]> wrote: > > Thanks Andrew. > > I tried this also. > > It gives <TD style="width:100px"> > > > > But it has no effect. I checked MSDN and TD has no width in styles. > > > > Any ideas? > > > > > > > > On 7/10/07, Andrew Robinson <[EMAIL PROTECTED]> wrote: > > > It should be: > > > > > > <t:columns style="width: #{column.width}px;" /> > > > > > > But odd that it was empty > > > > > > On 7/10/07, Tathagat <[EMAIL PROTECTED] > wrote: > > > > Hi. I am trying to set width of my columns in t:datatable where I use > > > > t:columns. > > > > > > > > <t:columns width="#{ column.width}px"> > > > > > > > > But it doesn't work (I see no width attribute in corrseponding <TD>). I > > also > > > > tried the following > > > > <t:columns style="pixelWidth:#{ column.width}"> > > > > > > > > This renders > > > > <TD style=""> (emtpy!!!). > > > > > > > > Help please. > > > > > > > > Thanks in advance > > > > Tathagat > > > > > > > >