FAQ: CSS Display and Positioning - Position

Could you share your code?

It’s the starting code given on the 2nd slide of this lesson.

You’ll get to learning how to put them on the left once the get the the float property. If you see the answer boxes in the center, you haven’t done the float property yet, which makes things on the web-page go all the way to the left or right.

Hmmm ok, that’s kind of what I figured, I just thought the code the lesson used didn’t really match what they weren’t trying to say the code does, hence a bit of confusion.
Thanks for the input though.

1 Like

@greatslyfer I see the same thing as you in this exercise on Step 2…you’re not alone in your confusion. I came here to see if anyone else had mentioned this.

1 Like

Could somebody please post the css for li?

The li CSS code in this project is:

li {
  color: #FFF;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
}

Tell me if you need the solution, this is what it looks like before you solve the problem.

1 Like

Thanks for the code. Try adding,

display: inline-block;

That should make things look more in order.