On 17 mai, 10:40, Tobias Herrmann <[email protected]> wrote: > Hi there, > > I have to disagree with Thomas. You only need to be aware that the > @sprite will set these dimensions. You can override this by setting the > height or width yourself in the CSS rule where the @sprite is used. > > Like this: > @sprite div.imageClass{ > gwt-image: yourImage; > height: auto; > width: 10px; > > } > > In this case, no other height and width properties will be set by gwt. > > Doing it this way, you can still take advantage of the improved > performance the gwt sprite mechanism provides.
...but in IE6/7 you might see other images from the "sprite image" (other browsers all use data: URLs, unless you tell them to not inline the resources) -- 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.
