Computer Science 1033A/B Lecture Notes - Lecture 6: Cascading Style Sheets, Css Box Model, Business Logic
mikekuo58 and 38820 others unlocked
25
COMPSCI 1033A/B Full Course Notes
Verified Note
25 documents
Document Summary
Cascading style sheets (css: css is a stylesheet language. Styles are applied in the order they are found. Embedded styles take priority only over external styles. The styles in the lowest (newest) style sheet overrides those in the higher (older, created first) style sheets. Stylesheet3 h2, img (h2 and img in this style sheet will override the h2 and img in: html controls the structure stylesheet1) Add text, image, links, ordered lists: css controls the presentation/appearance/style: Remember colour #609 = 66 00 99. Benefits of css: you can change the entire layout of the page without changing its content or structure. The html code stays the same but the css affects the look. Speed in production/maintenance: one or more styles can be used to control the style of the entire website or individual web pages, presents highly modularized web designs. Website can be controlled and constructed by five elements: Css controls document look and feel style/presentation.