Cascading Style Sheets (CSS) is a mark-up language like HTML, used to format various elements on a webpage. These elements include everything HTML can format (such as text type and size, backgrounds, margins, padding, and color) and more (like link rollovers, or text highlighting). Like HTML, CSS is just text that is saved in a text file. The text is saved with the file extension ".css" or directly in your ".html" document.
There are many advantages to using CSS. In my opinion the top two reasons to use CSS are:
CSS allows for the separation of content and design/formatting. This is an important step for the developing webmaster. The formatting for all webpage elements can be placed in a single style sheet that all the pages on the website link to. In this style sheet, the webmaster defines for the pages that links to it, various design elements such as color, size, padding, margins, and even the positioning of elements.
As we know, sometimes we webmasters make mistakes. CSS helps reduce mistakes as they save the webmaster from having to apply formatting in every single page to all the page elements. Thus using CCS reduces the risk that a webmaster may miss a font tag here or there and saves us from having to remember what the specifics of the formats were from page to page to page to page? You get the picture. Now here?s the really great part. Because the formatting for the whole website exists in one single file, site-wide changes can be made quickly and easily in one single sheet.
There are many other good reasons to use CSS. I'll mention some briefly to introduce you to some of the benefits of CSS. You'll find more detail in the further reading and resources listed at the end of this article.
Sean Buscay
www.christian-web-masters.comSean Buscay is on a mission to CREATE, ADVANCE, and EXPOUND faith in JESUS using web technology. He is the owner of Christian-Web-Masters.com .