PDA

View Full Version : empahsize current link



runrunforest
10-08-2008, 01:56 AM
Hi,

I have a small fillter here, I wonder how Can I emphasize them once clicked?

And the scheme is each span only emphasize one link at a time, there should be one linked emphasized in each span.

The emphasizing color is black and bold.

Does somebody know the trick ?

Html here

<div>
<span class="span_margin"><a href="#">All</a> | <a href="#">New</a> | <a href="#">Used</a></span>
<span class="span_margin"><a href="#">All</a> | <a href="#">Buy now</a></span>
<span class="span_margin"><a href="#">All</a> | <a href="#">Hot auction</a></span>
</div>

CSS here

.span_margin {
margin-left: 40px;
}