I'm working on an iPhone web application.
I have used a GWT button with the following CSS:

.gwt-Button {
  margin: 0;
  padding: 3px 5px;
  text-decoration: none;
  font-size: small;
  cursor: pointer;
  cursor: hand;
  background: url("images/hborder.png") repeat-x 0px -27px;
  border: 1px outset #ccc;
}
.gwt-Button:active {
  border: 1px inset #ccc;
}

When i click on the button, the CSS is not applied...

It seems that the :active is not natively supported by the iPhone
browser.
Some javascript "tricks" are available at:
- http://cubiq.org/remove-onclick-delay-on-webkit-for-iphone/9
-http://rakaz.nl/2009/10/iphone-webapps-101-make-your-buttons-feel-
native.html

What is the GWT solution ? Is there something available ?





--

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-tool...@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.


Reply via email to