PCC Art 198, Spring Semester 2009

Design for the Internet

Week 5 (semester 1/3 complete)

 

Topic

Assignments/Reading:

In Class

Tuesday

CSS Layout Design techniques, floats and positioning.

Assignment:

Reading:

Exercise: float an image and wrap paragraph text around it. Create a two or three column float layout, using positioning tutorial, source-order.html as guide.

Optional Practice: More CSS work:

Reminder: Newsletter due Tuesday week 7, (4/9)

Due: Masthead (or full comp) for Newsletter

Continue floats and positioning

Demo tutorial to prepare for assignment:

Thursday

Layout

 

Assignment:

Work on newsletter project and bring layout problems to class

Newsletter Project due Tuesday week 7, (4/9)

Due: Float and column homework exercise

Layout gymnastics. Practice multi-column layouts, and with and without header, footer divs.

Glossary of Terms (from http://www.maxdesign.com.au):

The viewport
The viewport is the window or viewing area that displays web pages. When the viewport is smaller than the web page, scroll bars should be available. Example: viewport
The initial containing block
The initial containing block is the entire width and height of your web page - including parts of the page that are outside the viewport. Example: initial containing block
Containing blocks or containing boxes
A containing block is a box or block that contains other elements (descendant boxes). An element's containing block means "the containing block in which the element lives". Example: several paragraphs within a containing block
Block-level elements and block boxes
Block level elements (or block boxes) are elements that are formatted visually as blocks. For example, a paragraph of text: * Example: block level element
Inline-level elements and inline boxes
Inline elements are elements that do not form new blocks of content; the content is distributed in lines. For example, an emphasized piece of text within a paragraph: Example: inline element
Normal flow
Normal flow is the way a document will display if you had no positioning or floating applied to elements. The content will flow down the page, starting with the first element in your document and finishing with the last element in your document. Example: content in normal flow
Out of normal flow
When a box is taken out of normal flow, all content that is still within normal flow will ignore it completely and not make space for it. Example: content out of normal flow
Static positioning
A statically positioned box is one that is in normal flow (see above).
Float positioning
A floated box is positioned within the normal flow, then taken out of the flow and shifted to the left or right as far as possible. Content may flow along the side of a float. More about floats.
Relative positioning
Relatively positioned elements are positioned within the normal flow and then moved. Elements that come after a relatively-positioned element behave as if the relatively-positioned element was still in its ‘normal flow’ position - leaving a gap for it. Example: relatively positioned content
Absolute positioning
An absolute positioned box is moved out of the normal flow entirely. Example: absolutely positioned content
Fixed positioning
Fixed positioned elements are moved out of the normal flow entirely - relative to the viewport. This means that they don't move if the page is scrolled. Win/IE5 and Win/IE6 do not support this positioning method at all. Example: fixed positioned content

About Us | Site Map | Privacy Policy | Contact Us