you are right (IMHO)

2006/2/7, Volker Weber <[EMAIL PROTECTED]>:
> Hi,
>
> ::SammyRulez:: wrote:
> > well i'm not a css guru but I think that if you apply tableClass to
> > the table tbody.tableClass is automatically applied to the inner
> > element tbody of the table.
> >
> > something like this
> > http://www.w3schools.com/css/tryit.asp?filename=trycss_link2
> >
> > the sample is for the 'a' tag but it should work also for tables
> >
> > 2006/2/7, Hasnain Badami <[EMAIL PROTECTED]>:
>
> I'm also not a css guru, but this is imo wrong.
>
> the class tbody.tableClass is applied to tbody elements with
> class="tableClass".
>
> you need this:
>
> .tableClass tbody {
>   /* definition here*/
> }
>
> this class is applyed to any tbody which is descendant of a element with
> class="tableClass".
>
> see : http://www.w3.org/TR/REC-CSS2/selector.html#descendant-selectors
>
>
> And please correct me if i understand this wrong!
>
> Regards,
>   Volker
>
>
> >
> >>Hi
> >>thanks for your reply
> >>
> >>If I create two css classes i.e. tableClass and tbody.tableClass I can pass
> >>the tableClass through styleClass attribute of <t:datatable>but how should I
> >>specify the tbody.tableClass.
> >>
> >>
> >>On 2/7/06, ::SammyRulez:: <[EMAIL PROTECTED]> wrote:
> >>
> >>>just guessing but if you create 2 different css classes one for the
> >>>table, one for the tbody and make tbody scrollable? something like
> >>>.tableClass {
> >>>....
> >>>}
> >>>tbody.tableClass{
> >>>height=300px;
> >>>overflow=scroll;
> >>>}
> >>>
> >>>2006/2/6, Mike Kienenberger <[EMAIL PROTECTED]>:
> >>>
> >>>>I'd recommend creating a patch for t:dataTable that implements a tbody
> >>>>class attribute and opening a JIRA issue with the patch.
> >>>>
> >>>>On 2/6/06, Hasnain Badami <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>>>hi
> >>>>>
> >>>>>I want to write a custom renderer to implement a table which has its
> >>
> >>header
> >>
> >>>>>fixed. For this i want to render class=somestylesheet (overflow: auto;
> >>>>>width:100%; height :200px) attribute to the tbody element the
> >>
> >><t:datatable>
> >>
> >>>>>generates. This would enable me to scroll the table body without
> >>
> >>scrolling
> >>
> >>>>>the header.
> >>>>>
> >>>>>What do I have to do in this circumstance.
> >>>>>
> >>>>>I shall highly appreciate your feedback
> >>>>>
> >>>>>Hassnain
> >>>>
> >>>
> >>>--
> >>>::SammyRulez::
> >>>http://sammyprojectz.blogspot.com
> >>>
> >>
> >>
> >
> >
> > --
> > ::SammyRulez::
> > http://sammyprojectz.blogspot.com
> >
>
> --
> Don't answer to From: address!
> Mail to this account are droped if not recieved via mailinglist.
> To contact me direct create the mail address by
> concatenating my forename to my senders domain.
>


--
::SammyRulez::
http://sammyprojectz.blogspot.com

Reply via email to