Archive for November, 2008

Pure css star rating. No javascript for ie6! 06.11.08

Like I said: true css-only rating system. No javascript involved (not even for ie6).
Here’s the html code:

<ul class=”rating”>
<li><a class=”worst” title=”1 star” rel=”nofollow” href=”#a1″>1</a></li>
<li><a class=”bad” title=”2 stars” rel=”nofollow” href=”#a2″>2</a></li>
<li><a class=”fair” title=”3 stars” rel=”nofollow” href=”#a3″>3</a></li>
<li><a class=”good” title=”4 stars” rel=”nofollow” href=”#a4″>4</a></li>
<li><a class=”best” title=”5 stars” rel=”nofollow” href=”#a5″>5</a></li>

</ul>

It uses multiple classes for ul: we [...]

Posted in web development | No Comments »