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

Style Sheet Basics

Cascading style sheets (CSS) is the broad term used to refer to several methods of applying style elements to XHTML pages. In this case, think of a style as any kind of design element, including typeface, background, text, link colors, margin controls, and placement of objects on a page.

Why should you use style sheets if markup can do at least some of this work by itself? The developers of HTML originally intended for it to be only a formatting language, responsible for the basic layout of a page, including body, headers, paragraphs, and a few specific items such as bulleted lists. Web designers and browser developers are the ones who have pushed and pulled at HTML to make it accommodate aspects of style, and XHTML has inherited this legacy.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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