Something like the following should work: Image img = new Image("SomeImage.png"); img.getElement().setPropertyString("left", "100px");
//Adam On 7 Juli, 14:12, stephan17 <stephanbe...@gmx.at> wrote: > Hi, > > In GWT i have an image and I want to edit a css attribute like "left" > or "top". The attributes should have dynamic values, so > setStylePrimaryName() is not good. > > What should I do? > > thx --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---