Hi-

It may be possible by using direct decedent selectors:

.parentPanel > .bottomCenter {
  stuff
}

.childPanel > .bottomCenter {
  different stuff
}

Please post the java and css code so we can better understand your
problem.

On Sep 29, 6:50 pm, Memo Sanchez <[email protected]> wrote:
> Hello :)
>
> I am creating a widget who has 2 Decorator Panels (One inside the
> other), both of them have different images for the rounded corners,
> the problem is that the internal decoratorPanel inherits all the CSS
> stying from his parent every single time. I have change the same
> parameters in the css for both of them (i.e. topLeft,
> topInnerLeft... .bottomCenter ... etc). And the child ignores the
> changes and still uses the same styling that the parent use.
>
> Can somebody give me a tip on how can I make the  child ignore the
> parents CSS and use its own please.
>
> Thank you very much.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to