Introducing Cascading Style Sheets

Introducing Cascading Style Sheets - I n t roducing...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: I n t roducing Cascading Style Sheets Purpose of XHTM L is to create structure for the page content. Cascading Style Sheets (CSS) is used for the presentation-the formatting of your Web pages. Cascading Style Sheets provides a way to easily and efficiently format an unlimi ted n umber of Web pages so they have the same appearance. Cascading Style Sheets offers many advantages over XHTML: Greater consistency in Web site- apply styles you create in one document to some or all of the other pages in Web site Easily modified code- modify code to change the style of one page, all of the pages in Web site can change, helps to maintain a consistent design More f lexible formatting-format and position text in ways that you cannot w ith XHTML Greater functionality- many features of word-processing program such as tab i ndents, line spacing and margins. Current version of CSS is 2.1 All browsers would display all of the CSS properties and values and they would d isplay then in the same way. When a BDD feature appears in all browsers without any def ...
View Full Document

This note was uploaded on 12/09/2010 for the course COMP SCI 1B03 taught by Professor Dr.dotler during the Spring '10 term at McMaster University.

Ask a homework question - tutors are online