Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I like the style of tags at In fact, I'd like to create something similar and I was wondering how are they styled.

First of all, I've launched Firebug and was trying to analyze the DOM.

Let's see i.e. [graph-theory] tag:

math tags

and in Firebug it looks like there are no brackets:

math firebug

So, where's the catch?

share|improve this question

1 Answer 1

You can use :before and :after classes in CSS:

share|improve this answer
Great! I didn't know abt this. – rafek Feb 22 '11 at 6:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.