Cascading Style Sheets (CSS) in Layman's Terms

CSS refers to presentation instructions for a document written in a markup language such as HTML or XHTML. A well defined CSS driven structure adds a level of efficiency and greater ease in modifying the appearance of a website.

What if one could maintain his lawn in a CSS sense? Using a hand held device he enters height and color values, and instantly every blade of grass on the lawn is exactly the same height and color (wouldn't that be nice). A scenario such as this might apply to the copy on a website. Changing the font size, color, name, etc. for every page in a site would undoubtedly be cumbersome. Defining a single CSS object from which all copy elements reference allows for dramatic modifications to the appearance of all copy on all pages in a snap.

Consider maintaining landscape elements in a predictable cascading effect. One may want all bushes to be of equal width and height. However, they may want to define the color and petal size of the flowers produced based on the species of plant. In this scenario we would reference two CSS objects for each bush. The first is the same for each bush, doing all the trimming so that each plant is of equal width and height. The second is specific to each species, defining what the flowers will look like. This scenario might represent the layout of a web page. A general layout such as equal columns with equidistant spacing. However, the similarities may end there as we may want to implement some type of distinction between each column. Whether the distinction is a background graphic, borders, or some other attribute, those instructions may be provided by means of a subsequent reference that adds more specific detail to the individual columns.

The analogies mentioned should provide general understanding about CSS. One could certainly go into great depth regarding specific implementations and practices.





534 views

Feedback is appreciated!




  Live Chat
Live Chat


Dancing Classrooms Northeast Ohio Launched
11/3/2009 10:36:13 AM
Dancing Classrooms is not about teaching ballroom dancing. The dance is a tool for getting the children to break down social barriers, learn about hon...(read more)

Strategies for Creating Strong Passwords
By Jeremy Zoerman
5/8/2009 8:06:25 PM
Todays technology has brought us a click away from a vast array of information and instant communication. Consequently, this has also brought to our d...(read more)

Website Advantages
5/7/2009 3:11:54 PM
Owning a website offers a cost effective method to reach millions of people around the world. A professional website should pay for itself and provide...(read more)

Advanced CAPTCHA Techniques
5/4/2009 6:55:55 PM
The basic principal of a CAPTCHA is to prevent automated submissions, thus consideration is given only to those deemed to have been submitted by a hum...(read more)

What is SEO?
4/12/2009 3:40:44 PM
Search engine optimization (SEO) is the process of optimizing a website to achieve a high list ranking with leading search engines. More specifically,...(read more)

What is CSS?
4/12/2009 3:40:23 PM
CSS refers to presentation instructions for a document written in a markup language such as HTML or XHTML. A well defined CSS driven structure adds a ...(read more)

SQL: How to toggle a bit field
4/12/2009 3:40:01 PM
Here is a very simple yet nifty little function to perform a bit-wise operation in an SQL update statement. The following statement is an example that...(read more)

Choosing a domain name
By Jeremy Zoerman
4/12/2009 3:38:44 PM
Ideally a domain name should be short and not easily misspelled. Preferably, target top level domain (TLD) extensions from the original Internet speci...(read more)

What is the 'Validate XHTML' link for?
11/3/2009 6:51:59 PM
You may have noticed the World Wide Consortium (W3C) validator link (Validate XHTML) at the bottom of each page in our site. We have included this as ...(read more)

RSS 2.0
RSS 2.0
(941) 580-9130    
© 2008 Sarasota Webs
Site Map Validate XHTML