Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Website Menu

How to create a website menu (the top part which contains 'about' 'products' 'contact' etc) in a horizontal way? In HTML with the help of CSS.

2 Answers

You could do this with flexbox. Flexbox can be very versatile in setting up styles that you want to achieve and you can adjust how they display in your media queries. I used it on a navigation bar for a website that I'm making. Here's a very good guide explaining it if you want to learn more https://css-tricks.com/snippets/css/a-guide-to-flexbox/.