asked on
<style type="text/css">
/* styles for the star rater */
.star-rating{
list-style:none;
margin: 0px;
padding:0px;
width: 150px;
height: 30px;
position: relative;
background-repeat: top left repeat-x;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images/star_rating.png', enabled=true, sizingMethod='image');
/* background: url(images/star_rating.png) top left repeat-x; */
}
.star-rating li{
padding:0px;
margin:0px;
height:30px;
width: 30px;
/*\*/
float: left;
/* */
}
.star-rating li a{
display:block;
width:30px;
height: 30px;
line-height:30px;
text-decoration: none;
text-indent: -9000px;
z-index: 20;
position: absolute;
padding: 0px;
overflow:hidden;
}
.star-rating li a:hover{
background: url(images/star_rating.png) left center;
z-index: 2;
left: 0px;
border:none;
}
.star-rating a.one-star{
left: 0px;
}
.star-rating a.one-star:hover{
width:30px;
}
.star-rating a.two-stars{
left:30px;
}
.star-rating a.two-stars:hover{
width: 60px;
}
.star-rating a.three-stars{
left: 60px;
}
.star-rating a.three-stars:hover{
width: 90px;
}
.star-rating a.four-stars{
left: 90px;
}
.star-rating a.four-stars:hover{
width: 120px;
}
.star-rating a.five-stars{
left: 120px;
}
.star-rating a.five-stars:hover{
width: 150px;
}
.star-rating li.current-rating{
background: url(images/star_rating.png) left bottom;
position: absolute;
height: 30px;
display: block;
text-indent: -9000px;
z-index: 1;
}
/* remove halo effect in firefox */
a:active{
outline: none;
}
</style>
ASKER
.star-rating{
list-style:none;
margin: 0px;
padding:0px;
width: 150px;
height: 30px;
position: relative;
background-position: top left;
background-repeat: repeat-x;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='images/star_rating.png', enabled=true, sizingMethod='image');
/* background: url(images/star_rating.png) top left; */
}
HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.
TRUSTED BY
Open in new window