• Skip to Content
  • Home
  • Previous Page: A Beginning PHP Tutorial
  • Next Page: Finding Free Images For Your Web Site
  • Up: Computers and Technology
  • Access Options
  • Site Index
  • Print this page
  • Share Page
  • Mobile

LesTout Logo
  • Connect with experts
  • Read the latest articles and news
  • Become an expert and share practical advice
LesTout is an online network of helpful guides, eager to share their Expert Advice with you! Learn more or Join LesTout Community - It's Free!

What Are Cascading Style Sheets?

Picture of: C Criswell
From : C Criswell
Your guide for : Computers and Technology
Published in : Computers and Technology
Login or  Sign Up Now to participate in our community and subscribe to our Newsletters.
  • Posted on 06-23-2008
  • Views 46
  • Rating 0 (0 votes)
Print this page

Cascading Style Sheets (CSS) is a fancy term for a document that works along side a web page to tell the computer how content is to be displayed.  Cascading Style Sheets are a huge step forward from traditional HTML web page writing in that when a person uses CSS the formatting and layout of things on the page are controlled not by statements in the web page file but instead by options set in the CSS file.  The two pieces are both required in order for a web page to display properly.  At first glance this may seem to make things more difficult to write but in the long run, using CSS makes writing cohesive, attractive web sites much easier.

What Does A CSS File Do?
CSS files contain options for displaying elements on a page.  In traditional HTML the size and font face of text was controlled with a statement such as:

font size="4"

Having to write such size options into each individual section of the web page made the page larger and load slower.  It also had the problem that changing making changes to one page of a site often meant going through all of the other pages as well to make even minor changes to the site template or layout.  CSS solves this problem by removing these formatting options from the HTML file.  The CSS file with the formatting information is then linked to all of the site's pages through a statement in the page's header.  When a designer decides to change the font size or color of a part of the template he or she can change all of the pages on the entire site by making a change in the CSS file.

All fields mark * are required.

Click here to post new commentsLeave a Comment

Click here to close rateRate this Article

Click here to open feedback formContact this Member

Click here to open tell a friend formTell a Friend

Click here for link of this pageLink to this Article


Already have a Lestout account? Login here.

Free Newsletters

Subscribe now for the Lestout Newsletter!