I've never come across this Dave, but I have never put padding around images either. IE subtracts padding/margins etc from box sizes, FF and Safari add them (according to W3C spec). Suggest kill padding and see if that is the cause.
If it is to get padding to work x-browser try putting the images inside a SimplePanel (DIV) and put the DIVs into your grid/table whatever, then apply the margin/padding to the DIV not the images. This trick works in a number of situations where IE's different box model breaks display for this reason. On Dec 18, 3:23 pm, "David Hoffer" <[email protected]> wrote: > I don't know why but it seems the following CSS breaks the images on all but > IE. > > .gwt-Image { > padding: 3px; > border: 3px; > > } > > -Dave > > On Thu, Dec 18, 2008 at 7:10 AM, [email protected] > > <[email protected]> wrote: > > > I had a similar issue that I later found to be caused be some CSS. GWT > > wraps Image Bundles in a clipper tag for IE were as FF is just a > > standard image. Try using the DOM Inspector addon for FireFox to see > > exactly what is being applied to you image. > > > I do not know if this is your issue but it may help. > > > On Dec 17, 1:54 pm, dhoffer <[email protected]> wrote: > >> We have a single ImageBundle that works fine in Hosted mode (Windows) > >> and the images display correctly when the app runs in IE however all > >> the images are cropped incorrectly when run with Firefox & Chrome. > >> The incorrect images show the full image plus the left portion of the > >> image next to it on the right side. > > >> I am using the GWT annotations method to specify image file names > >> (@ImageBundle.Resource()). > > >> Why would ImageBundle not work correctly with all browsers? > > >> -Dave --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
