I have a list that has a green square. I like to replace the image with css.
Here is the current list
Here is the CSS for the current list where the green square is called from background image and background-position.
Here is css for a simple square with solid color.
http://3easy.org/buildmobile/jquerymobile/#square_css
Is it possible to replace the background-url with this css?
Thanks
Here is the current list
Here is the CSS for the current list where the green square is called from background image and background-position.
Code:
.hilite_list li a:link, .hilite_list li a:visited{
background: url(images/spriteme1.png) no-repeat left 5px;
background-position: -10px -100px;
color: #666;
padding-left: 15px;
line-height: 25px;
}
Here is css for a simple square with solid color.
http://3easy.org/buildmobile/jquerymobile/#square_css
Code:
.square {
width: 100px;
height: 100px;
background: #fc2e5a;
}
Is it possible to replace the background-url with this css?
Thanks