O'Reilly logo

Eric Meyer on CSS: Mastering the Language of Web Design by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Converting the Document

Going from an all-HTML design to an HTML+CSS design requires two steps:

  • Shedding the HTML-based presentation
  • Adding in CSS to replace it

In many cases, it’s easier to do this in a gradual fashion by stripping down a small portion of the document and styling it before moving on to the next section. For this project, though, we’re going to go the hard-core route and strip the file all the way down to its minimum state before we start styling. (It makes the figures look a lot better, too.)

Stripping Down to the Minimum

It’s time to make a copy of the original all-HTML file and strip out nearly all of its HTML-based presentation. This is undeniably the toughest part of converting an all-HTML design to an HTML+CSS layout. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required