i have this css code that shows the photos twice, its wierd, is thier a better i can write this, the links are used to vote using jquery? :)) css code:
a.vote_up, a.vote_down {
display:inline-block;
background-repeat:none;
background-position:center;
height:30px;
width:30px;
margin-left:4px;
text-indent:-900%;
}
a.vote_up {
background:url("images/uparrow.png");
}
a.vote_down {
background:url("images/downarrow.png");
}
html:
<span class='vote_buttons' id='vote_buttons<?php echo $row['id']; ?>'>
<a href='javascript:;' class='vote_up' id='<?php echo $row['id']; ?>'>Vote Up!</a>
<a href='javascript:;' class='vote_down' id='<?php echo $row['id']; ?>'>Vote Down!</a>
</span>