CP202 Lecture 6: CSS Intro
Document Summary
Difference between css and html on the exam. Adds formatting and layout to html: how does the page look like. Concerned only with formatting and not with content or structure of the formatted document. Compatibility: newer versions of css can read older versions, older versions can read new versions by discarding new elements, older browsers ignore css. Complementary to structured documents: style sheets have little or no impact on marked-up text. Vendor, platform, and device independence: style sheets provide the same basic in all circumstances: works in safari, chrome, firefox, ie. Maintainability: easy to update an entire site when formatting is kept in an external style sheet - one stop format editing. Simplicity: css is human readable and compact. Flexibility: css can be applied in several different ways. Richness: css contains a broad set of formatting controls: can do a lot of stuff and it"s constantly improving.