Css page layout
-
Upload
thien-thanh-that -
Category
Technology
-
view
284 -
download
2
description
Transcript of Css page layout
![Page 2: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/2.jpg)
Box ModelPage LayoutPositioning
![Page 3: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/3.jpg)
What is this?How works it?
![Page 4: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/4.jpg)
![Page 5: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/5.jpg)
Three-dimensional visualization of the CSS box model
Remember: the width property declares the width
of the element’s contents, not its box.
![Page 6: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/6.jpg)
IntroductionEqual height problem
![Page 7: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/7.jpg)
“What the designer sees,
the user sees”
Fixed Layout
![Page 8: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/8.jpg)
“Flexible for
differents screen
resolution”
Fluid Layout
![Page 9: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/9.jpg)
Mixes the two
other main
layout types. It
works by sizing
all elements with
em‘s.
Elastic Layout
![Page 10: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/10.jpg)
![Page 11: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/11.jpg)
The height of each column is depend the contents in column.
![Page 12: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/12.jpg)
Key: Relative position property .
![Page 13: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/13.jpg)
Key: Background Repeat Property
![Page 14: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/14.jpg)
Position:static | relative | absolute | fixed Floating and Clearing
![Page 15: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/15.jpg)
![Page 16: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/16.jpg)
![Page 17: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/17.jpg)
![Page 18: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/18.jpg)
![Page 19: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/19.jpg)
![Page 20: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/20.jpg)
Mystery of Float
![Page 21: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/21.jpg)
Clearing
![Page 22: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/22.jpg)
Float column and “footer problem”
![Page 23: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/23.jpg)
“Footer problem” and solution
![Page 24: Css page layout](https://reader036.fdocuments.net/reader036/viewer/2022062405/55863868d8b42a962c8b480a/html5/thumbnails/24.jpg)