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

CSS

I am having trouble getting my Locations, Cupcakes & Prices, About and Contact Us list to float above my picture.

I am having trouble getting my Locations, Cupcakes & Prices, About and Contact Us list to float above my picture. I have look at my code for hours but don't know what is wrong.

How it look's: https://docs.google.com/document/d/12u2w58i1LQWZgV2evUTRkS6akaN8wwadgkKKCs8DR5c/edit

My Code: http://codepen.io/anon/pen/pxozg

Thank's For Your Help

1 Answer

Adam Moore
Adam Moore
15,825 Points

You're trying to get the nav to float above the "Smells Like Bakin" logo?

If so, that wont really work.

You're nav is below your logo in the markup and float doesn't work that way. You can float it left or right but not up and down. Depending on what you're really trying to achieve, you may have to change or add to your markup.

All I am trying to do is get the list to spread out above the page.

Here is a link that shows what it's supposed to look like, but what mine looks like:

https://docs.google.com/document/d/1uTsOikhqWCC5rZUHvdJKgil4bXmitf-Z4jHOUKCG8x8/edit

And again my code: http://codepen.io/anon/pen/pxozg