Object Oriented Layout with Cascading Style Sheets

CSS, or Cascading Style Sheets, are a godsend. CSS has become almost as important markup as the HTML itself. The style sheets provide a way to maintain consistent look and feel of Web sites no matter how large they are. The ability to control the look and feel of a whole Web site with only few style sheets, or perhaps only one, is a productive Web design method that also supports code reuse in many ways.

Code reuse is one of the most attractive features of object-oriented programming. The design of classes with methods and properties is possible, and often as easy, with code reuse in mind that makes it easy to apply them to other programs and environments. The same goes for cascading style sheets and HTML. It is easy to reuse the same style sheets within a Web site and some aspects of inheritance are possible.

A clever use of IDs and classes with HTML and cascading style sheets makes a powerful combination when used in conjunction with Java Script. A fine-grained control of every element of a Web page including textual content, links and images in addition to effects and Ajax connectivity becomes reality if applied wisely and cleverly.

Having a good CSS tool set will make the move into object oriented CSS Web design a lot easier. Below you will find links to open source HTML and CSS authoring tools.

Filed under:
By: Webmaster on : September 2008