On 04/13/2009 03:31 PM, Jaap wrote: > On Apr 14, 12:25�am, Jaap<[email protected]> wrote: > >> Hi, if add a CSS body statement to the CSS file of my project I see >> with Firebug that the browser actually does take the values from >> standard.css and not from my CSS file. >> Can I change this somehow? Is it intentional? Is this a bug? >> >> > I just noticed this as well with setting the font size of buttons. If > you create a new GWT 1.6 project in eclipse and in the CSS file you > change the following > > .sendButton { > display: block; > font-size: 16pt; > } > > to > > .sendButton { > display: block; > font-size: 24pt; > } > > The font size does not change because .gwtButton in standard.css sets > the font-size. > > Any help appreciated >
I usually solve this using !important rules (http://www.w3.org/TR/CSS2/cascade.html#x11). There are other methods, e.g. declaring your own classes that build on the GWT. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
