CSS Best Practices for Modern Designs

In 2001, I discovered CSS and it changed my life.

CSS Best Practices

In 2001, I discovered CSS and it changed my life.

Previously, I had used FrontPage before switching to Dreamweaver2 and both software packages required me to update the entire website every time a graphical element wasn’t working for me. For a 2-page site, this process was relatively quick and simple; but when I had more than 100, it started to become a hassle. CSS solved this problem by separating design from content.

Like many developers, when I started programming, I coded in a linear way: the header, the content and the footer. Looking back at some of my older projects, that was almost certainly the worst practice possible: each section of the site was treated as if it were standalone, creating huge inefficiencies. It also tended to make your code look like it was dumped from a WYSIWYG editor.

This article presents advice to help shift your thinking from linear code to CSS. Keep in mind that there are a lot of ways to develop in CSS— feel free to try this one and feel welcome to adopt it!

Read more