Find the complete article as PDF file at the end.
Layout with Cascading Style Sheets (CSS) – Summary
Cascading Style Sheets (CSS) provide a mechanism to style web pages (HTML pages). CSS is a style sheet language describing the presentation of an HTML document.
The advantages over styling trough HTML attributes are:
extensible styling possible
separation of content/structure and styling (presentation)
possibility to have a central stylesheet with rules for all pages of a web site.
This makes maintenance and changes in the design of a web site easy if CSS is used centrally. By exchanging or editing the stylesheet file the changes are immediately applied to all pages.
Zen Garden makes use of this. The web site displays always the same HTML page but with different stylesheets. It just changes the reference to the CSS file. Experience it yourself:
CSS @ SelfHTML (de)
CSS Reference @ SelfHTML (de)
CSS @ Wikipedia (de)
CSS @ w3schools (en)
CSS Reference @ w3schools (en)
CSS @ Wikipedia (en)
It brings a fast and smooth user experience by allowing data processing and user interaction with the web site on the users computer. Instead of having all intelligence on the server it is brought closer to the user, to the browser.
AJAX @ Wikipedia (de)
AJAX @ Wikipedia (en)