Hi there!

I have a horizontal navigation. What I would like to do is for each a, I would like the first word on top, and the second word below with an underline. How would I do this? I consider making each a element smaller in width, but it doesn't fit quite right. Any suggestions on how I would do this?

Thanks!

Use a line break <br /> between the words, I'd enclose the second word with span tags and underline the word. Text-align: center the words.

commented: awesome +7

What if the navigation is actually a wordpress menu?

You can (I believe) do the same thing if you view the source code of your template.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.