In 1.6.2, I have tried inject my css in gwt.xml, and it works! Does it mean I lost all standard.css style?
And could you give an example about "The other possibility (untested) is to inherit the xxxResources module (e.g. ChromeResources) instead and include the appropriate <link rel=stylesheet> in your HTML *before* your "overrides" (the xxxResources module takes care of including the stylesheet and images in the compilation output, without injecting the stylesheet in the page) "? Thanks! On 3月30日, 下午6时45分, Thomas Broyer <[email protected]> wrote: > On 30 mar, 12:00, 5leipn1r <[email protected]> wrote: > > > Yhea, I know, I've read this before post the message. But I've tried > > to override the DialogBox Caption background image, remove that, make > > a simple caption, with a custon collor and doesnt works, Even placing > > the css code reffering to .dialogBox .Caption like the doc said. The > > background fade color image doesnt goes away. > > Any help with that? > > If you use one of GWT's "themes", the stylesheet is injected in your > HTML page and will "override" anything that you defined from within > the page (<link rel=stylesheet> or <style></style>). > To override a theme's CSS, you have to inject your CSS stylesheet > (using a <stylesheet src="..." /> in your module's gwt.xml) > The other possibility (untested) is to inherit the xxxResources module > (e.g. ChromeResources) instead and include the appropriate <link > rel=stylesheet> in your HTML *before* your "overrides" (the > xxxResources module takes care of including the stylesheet and images > in the compilation output, without injecting the stylesheet in the > page) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
