I think the problem is that cellTableFirstColumn and
cellTableKeyboardSelectedRowCell are both applied to the TD element, so a
descendent selector won't work because cellTableKeyboardSelectedRowCell is
not on an element *beneath* an element styled with .cellTableFirstColumn.
I haven't tried it, but the CSS3 pseudo selector "first-child" might work
here (for browsers that support it):
.cellTableKeyboardSelectedRowCell:first-child {
background-color: fuchsia !important;
}
Thanks,
John LaBanca
[email protected]
On Thu, Feb 24, 2011 at 10:22 AM, Julian <[email protected]> wrote:
> Hi there
>
> I'm trying to combine the cellTableFirstColumn and
> cellTableKeyboardSelectedRowCell
> selectors to set background-color of the first cell in the selected row to
> a lovely pink.
>
> I have the following in my *CellTablePatch.css*
>
> .cellTableFirstColumn .cellTableKeyboardSelectedRowCell {
> background-color: fuchsia !important;
> }
>
> But for some this style isn't applied. Firebug tells me both of the styles
> are applied to the first cell in the selected row, but no pink shows up.
>
>
> Combining two other selectors in the same way, e.g. cellTableEvenRow and
> cellTableFirstColumn works just fine.
>
> Any clues to what I'm doing wrong here?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.