CSCI 1170 Lecture Notes - Lecture 8: Html Attribute, Css Box Model, Delimiter

77 views2 pages

Document Summary

Remember : every html element live inside box (w3c box model) Internet explore version * and earlier have different rules to the w3c model. Width in the w3c is the width of the content while in ie <=8 the width is the width of the boarders. Solution: a box-sizing property is implemented to account for this. Stylesheet because it is a collection of style rules on html elements selector { /*this is a comment*/ property: value; A style element in html A link in the html to an external css When resolving a website, the browser initial have a default styles. This is then overwritten by the style preference set by the user. This is then overwritten by the styling codes that the designer writes. Nested elements acquire certain properties from the parent element. e. g. font is inheritance. A child"s own styling will have priority over the parent styling.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents