2 Columns, Center-Aligned, Fixed Width

Skills Covered

  • Margin: 0 Auto

Estimated Work Time

  • 15 Minutes

With this lesson we'll center all of the content inside a browser window. Watch the video below to walk through these steps:

  1. Open columns_left_fixed.css and save it as columns_center_fixed.css
  2. Open columns_left_fixed.html and save it as columns_center_fixed.html
  3. Change the link to the style sheet called columns_center_fixed.css

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

Test your page... make sure it's connected to the css, like this.