Hi Todd,

Thanks, I installed the DOM Inspector but not being a DOM guru I don't
really know what to look for.

Using the DOM Inspector I have found the problem images, here is some
of the data reported.

className: "gwt-Image
clientHeight: 26
clientHeight: 26
(Note that my images are 20x20 pixels I don't if the 26 above is an issue)
height: 20
hspace: -1
offsetHeight: 26
offsetWidth: 26
scrollHeight: 26
scrollWidth: 26
width: 20

What am I looking for here?

Here is my CSS with respect to images:

.gwt-Image {
    padding: 3px;
    border: 3px;
}

Is this CSS the problem?

-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
-~----------~----~----~----~------~----~------~--~---

Reply via email to