Scoobyphotos.com | Blog

Thursday, August 18, 2005

Using CSS

I've talked about how scoobyphotos.com is designed using style sheets before, but I thought I would take this opportunity to explain why I think using this method to build websites is one of the best.



Using style sheets allows your site design to be controlled from one single file. This means that if you want to change the colour of your hyperlinks, change the width of a border, or increase the font size of your H1 tags, a couple of changes to your style sheet will mean those changes will happen to all your web pages. When I first built scoobyphotos.com, each page contained its own styling, so a simple change to a colour or layout meant changing every page on the site, a time consuming task at best, and one prone to errors, as pages could be missed out, meaning the design was inconsistent across the site.


Using style sheets also allows your visitors to aply there own style specifications, something that the newer web browsers support. Perhaps you visitor is partially sighted, so needs the font size to be larger, style sheets allow the user to over rule the website style with his own.


The key factor for me is time, I don't want to have to spend days changing pages by hand because a font size needs to change, I want to be able to do this quickly with a minimum of fuss. Its for this reason that scoobyphotos.com is built using php include files as well, allowing site content to be controlled from one file rather than duplicating content across all pages, or even worse, resorting to using frames.

0 Comments:

Post a Comment

<< Home