CSS Style

On the new DDA Carnival website we are creating, I’ve again witnessed the awesome power of CSS style sheets.

It started as a few pages and I was hard-coding into each page the repeating background and the font color and style. This isn’t much of a hassle when you initially need to make a change or two. As we went on and added more and more pages and occasionally needed to tweak a few things, these minor changes were becoming major headaches. So a CSS style sheet was created and included on each html page.

This little thing makes a huge difference in saving time. If you then want to change a background image on all of the pages, you just change it on the style sheet. If you want to change the font color of your text on all the pages, you just change it on the style sheet. If you want all of your font sizes to be larger on all of the pages, you just change it on the style sheet. If you want a large coffee, you just head to your local Dunkin’ Donuts.

The lesson here is to start off your site creation with a CSS style sheet even if your site only consists of a few pages initially. It will make your web design easier to modify and save you tons of time in the long run.