On Feb 22, 3:12 pm, Chris Lercher <cl_for_mail...@gmx.net> wrote: > Hi, > > what's the best way to get browser-dependent CSS in UiBinder? > Sometimes IE requires a bit of special styling...
Use CssResource's conditionals with @if rules! Excerpt from the Mail sample: @if user.agent ie6 { @url logoIe6 logoIe6Data; .logo { background-image: logoIe6; width: 140px; height: 75px; position: absolute; } } @else { @sprite .logo { gwt-image: 'logo'; position: absolute; } } http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/mail/src/com/google/gwt/sample/mail/client/TopPanel.ui.xml -- 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-tool...@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.