Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

displaying inline or inline block

Hello, I am having trouble getting my elements flow down the page and at the moment. I've created a simple ul, header (that I want to display in the centre of the page) then the first bit of text. They seem to be displaying near the top left hand side of the page by default but I want them to flow down the page. I have played around with a few things but can't seem to get it right. I think it's to do with displaying inline or block but can't seem to get it right. Would really appreciate some help. My code is here: http://cdpn.io/FmAuc thank you :)

2 Answers

I removed the position:fixed from my css and it seems to have worked...

Not sure if im getting you right but If you want the nav bar to be at the center of the page you can get rid from the float right and add "text-align:center;."