CSCI-UA 4 Lecture Notes - Lecture 10: Html Element, Website Wireframe, User Interface Design

93 views6 pages

Document Summary

This code snippet above, make an element be as tall as the browser window. This code snippet above, make an element be as wide as the browser window. We can change the position of any html element in the document area, i. e. . Static position does not alter the position of an element in the x nor y position. The element renders in order of the document flow. Relative can be used with top, and left attributes. The element that is in relative position will move in relation to its parent and sibling elements. Relative position takes place in the document flow. Absolute can be used with top, left, right and bottom, as well as z-index. Absolute position breaks away from the document flow and listens only to the the coordinates in relation to the document area. Absolute positioning also support z-index attribute, which allows to layer element on top of each other.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents