myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: t:columns and width
Date Tue, 10 Jul 2007 17:17:41 GMT
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 <mail@tathagat.com> 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 <andrew.rw.robinson@gmail.com> 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 <mail@tathagat.com> 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 <andrew.rw.robinson@gmail.com> wrote:
> > > > It should be:
> > > >
> > > > <t:columns style="width: #{column.width}px;" />
> > > >
> > > > But odd that it was empty
> > > >
> > > > On 7/10/07, Tathagat <mail@tathagat.com > 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
> > > >
> > >
> > >
> >
>
>

Mime
View raw message