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 s
Because IE6/7 does not support the background-clip css property
On May 17, 6:28 pm, Thomas Broyer wrote:
> On 17 mai, 10:40, Tobias Herrmann 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
On 17 mai, 10:40, Tobias Herrmann 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
Thanks much Tobias and all,
height:auto; worked.
Vaibhav.
On May 17, 4:40 am, Tobias Herrmann 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
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;
Thanks, that clears things up for me (and I hope Vaibhav as well). I
havent made the UiBinder/ClientBundle jump yet, but in reading the
documentation I thought that might be an issue. Good to know
DataResource can fill that need.
On May 16, 5:31 pm, Thomas Broyer wrote:
> On 16 mai, 21:42, Zak w
On 16 mai, 21:42, Zak wrote:
> Thomas, does this mean that @sprite should only be used when it's okay
> for the element to be constrained to the same dimensions (or just
> height or width in the case of repeated backgrounds) as the image? For
Yes, just as if you used an Image (withou setUrl or
Thomas, does this mean that @sprite should only be used when it's okay
for the element to be constrained to the same dimensions (or just
height or width in the case of repeated backgrounds) as the image? For
example, if we went with Stefan's proposal of overriding the height
rule (let's say height:
On 14 mai, 22:13, Vaibhav wrote:
> Hi,
>
> I have implemented ClientBundle in my application and so far it
> is working fine until I came across this issue. I have a css class
> which has a background image so I defined it as a sprite in my css. I
> am using this css class on Button and it
Hi,
did you try to overwrite height in your css?
@sprite .MarkitButton {
gwt-image : "MarkitButtonBG_sm";
height: none;
Did not try, may work or not.
Stefan Bachert
http://gwtworld.de
On 14 Mai, 22:13, Vaibhav wrote:
> Hi,
>
> I have implemented ClientBundle in my applic
Hi,
I have implemented ClientBundle in my application and so far it
is working fine until I came across this issue. I have a css class
which has a background image so I defined it as a sprite in my css. I
am using this css class on Button and it looks okay. But I lost
vertical text alignment
11 matches
Mail list logo