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!

Recommended Answers

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

Jump to Post

All 3 Replies

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.