css - Anchor styling having issues, don't know why -


i have styling done follows

/*------------this css internal css in html page-------------*/  <style> .rating_star   {       background-image: url('<?php echo base_url();?>assets/front_assets/images/star_hv.gif');   }  .rating_star hover   {       background-image: url('<?php echo base_url();?>assets/front_assets/images/star.gif');   } </style> 

and here html part:

<a href="javascript:void(0);" onclick="         var i='<?php echo base_url();?>assets/front_assets/images/loading.gif';         var load = document.createelement('img');         load.setattribute('src', i);          $('#rate').html(load);         $.post('<?php echo base_url();?>rating/rate'              {'star':1,'item_slug':$('#item_slug').val()},                function(data){$('#rate').html(data););" class="rating_star">&nbsp; </a>  

the problem can't see image, if hover on href, see no change.

please me...


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

.htaccess - Matching full URL in RewriteCond -