• 10 hours
  • Easy

Free online content available in this course.



Got it!

Last updated on 3/13/23

Understand legacy layouts

Evaluated skills

  • Recognize how "legacy" approaches to setting layouts are used
  • Question 1

    Using absolute positioning, relative positioning, and floats would be considered:

    • a modern way of setting layouts

    • a legacy way of setting layouts

  • Question 2

    What does the following line of code do?

    p {
        position: relative;
        top: 20px;
    • Moves the paragraph down 20px from where it would normally appear

    • Moves the paragraph down 20px from the edge of the viewport

    • Moves the paragraph up 20px from the bottom of the page

    • Nothing. You'd need to specify bottom, right, and left values too.

  • Question 3

    An element's default position property is:

    • absolute

    • relative

    • fixed

    • static

Ever considered an OpenClassrooms diploma?
  • Up to 100% of your training program funded
  • Flexible start date
  • Career-focused projects
  • Individual mentoring
Find the training program and funding option that suits you best