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

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;."