I have also used the sprite mechanism but without success on IE6/7
when it came to background with "sprite-image".

Here is the related issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=4521
and I think it describes the same problem mentioned by Thomas.

All we can do for now is star it ..


On May 18, 1:28 am, Thomas Broyer <[email protected]> wrote:
> 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 
> athttp://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 [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.

Reply via email to