• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 19. Using Style Sheets to Format... > Understanding Cascading Style Sheets

Understanding Cascading Style Sheets

Web developers have long struggled over formatting Web pages. Let's face it. HTML, although a great layout language, is not designed to be a robust formatting language. Fortunately, Web developers need not struggle with HTML for formatting page elements. Cascading Style Sheets, or CSS, is now the standard for formatting Web pages. As you will see in this chapter, CSS is well suited to the task.

CSS also solves another problem that Web developers have to contend with, and that is site redesign. Today's Internet won't tolerate a Web site that never changes. In order to keep your site fresh and desirable, you have to redesign it from time to time. If all of your formatting is implemented inside of your HTML tags, redesigning is a hassle at best. CSS solves this problem because it separates your formatting from your content. If you want to change fonts and colors, for example, you simply change your style sheet and it changes the fonts and colors in all of your pages associated with the style sheet—automatically. CSS can even be used to position your page elements right where you want them.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint