Alternatively, you can add !important to you CSS styles to ensure they take
precedence.

.myStyle {
  backgound: blue !important; // Takes precedence because it is important
}
.myStyle {
  backgound: red;
}
.myStyle {
  backgound: green; // Takes precedence over red because it appears after,
but blue still take precedence over green
}

Thanks,
John LaBanca
jlaba...@google.com


On Sat, Jan 15, 2011 at 4:40 PM, Thomas Broyer <t.bro...@gmail.com> wrote:

> If CellTable's default styles get in your way, you'll have to replace them
> with yours: create an interface extending CellTable.Resources and override
> the cellTableStyle() method to assign it a new @Source in which you'll put
> your own styles. Then, GWT.create() that new interface and give it to
> CellTable's constructor.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to