How do i add an image link with uibinder?
Hello, How can I add an image with a surrounding link within uibinder? I have an image resource and around that I need a link. Thanks for your help, Chris -- 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.
Using Background Images in CSS with sprite
Hi there, I'm a GWT "Beginner" and started a simple GWT project using the Eclipse GWT Plugin / GWTP setup. My first goal is to create a page with a basic design. I want to include teasertext_bg.png in to the CSS in MainView.ui.xml. But somehow it doesn't work. Can somebody tell me what I'm doing wrong? GWT Version is: 2.4.0 Resources.java public interface Resources extends ClientBundle { @Source("logo.png") public ImageResource logo(); @Source("teasertext_bg.png") @ImageOptions(repeatStyle=RepeatStyle.Horizontal) public ImageResource teasertext_bg(); @Source("main.css") Style style(); public interface Style extends CssResource { String branding_2(); } } MainView.ui.xml http://dl.google.com/gwt/DTD/xhtml.ent";> /* MAIN CONTAINER */ .main { width: 710px; margin: 0 auto; position: relative; } .branding { margin-top: 5px; margin-bottom: 10px; border-bottom: 1px dotted gray; margin-bottom: 10px; } @sprite .branding_2 { background: #273262; gwt-image: "teasertext_bg"; color: white; padding: 7px 20px 5px 20px; margin: 0 0 1px 0; border-top-right-radius: 10px; border-top-left-radius: 10px; } .branding blockquote { font-weight: bold; } IT Beratung Thanks, Chris -- 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.