I going to develop an app using PhoneGap, which will contain
home
and
settings
buttons in form of icons on the top of every webview like an actionbar menu in android. I'm using generated template from ThemeRoller (CSS) for JQuery Mobile. Can anyone to advise with some examples?
Just wanted to ask you. I want to use your example in this situation: on mouseover to picture it's changes. Here is my modification but it's not working. Could you check it please? I'm new in CSS and maybe have syntax error. Thanks in advance
.infoBtn {
width: 2.0em;
height: 2.0em;
background-color: transparent;
background-position: top right;
background-repeat: no-repeat;
background-size: 100% auto;
background-image: url(images/ic_about.png);
onmouseover: url(images/ic_about2.png); /* it's not working */
Yes, it's basic CSS. What you have above is invalid. There is no :onmouseover pseudo-selector in CSS, and you don't use pseudo-selector's that way. I think you want :hover.
I'd suggest a good book or tutorial on CSS that includes good coverage of CSS3. It's an extremely important skill to learn if you are using jQuery Mobile.