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

Floating right is different to floating left

#wrapper {
  width: 960px;
  margin-right: auto;
  margin-left: auto;
}

header {
  height: 150px;
  background-color: red;
}

section {
  float: left;
  background-color: green;
}

Floating left positions it next to, floating right positions it far away

1 Answer

Kevin Tran
Kevin Tran
5,817 Points

So what's your question? I can't help you if you don't ask a question.

I just ask it, how am I meant to ask it, this is a project im working on in atom https://www.youtube.com/watch?annotation_id=annotation_295756&feature=iv&src_vid=eRnygkaKTbI&v=cttn-0edurI