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 How to Make a Website Responsive Web Design and Testing Adjust the Profile Page and Header

float: right makes my web become disordered

Could someone help me about this float: right on nav? It makes my web become disordered and looks bad.

2 Answers

James Ingmire
James Ingmire
11,901 Points

Upload your code if you want and I will have a look.

Krzysztof Kucharzyk
seal-mask
.a{fill-rule:evenodd;}techdegree
Krzysztof Kucharzyk
Front End Web Development Techdegree Student 4,005 Points

I'm not sure what error your float makes, and how bad your web looks like ;D but try to add an extra div under your nav and set a style to clear both, it will create something like wall and not allow any other divs to go beyond it and all other elements will stay under your nav div. Code like this:

<div style="clear: both"></div>

I'm beginner, this might not help, but let's give it a try :)

Good luck