Boundaries and Space

Keep It Inline

Display types can be overwritten in CSS by using the display property.

For example, we can make list items appear on the same line by setting display to inline:

li {
  display: inline;

Note: Below, we will encounter an HTML nav element. Navs are used to organize site navigation menus on a webpage.

Community Forums
Get help and ask questions in the Codecademy Forums
Report a Bug
If you see a bug or any other issue with this page, please report it here.