Lesson 3: The Box Model

Outline

  1. Everything is in a box whether you know it or not
  2. Turn border to 1px
  3. Widths
  4. Some of the box model applies only to display block
  5. Display inline and block
  6. Generic tags: div (block), span (inline)
  7. Float for wrapping

Example

  1. Class example
  2. Class example2
  3. One example of the box moxel
  4. Horizontal centering
  5. Vertical centering

Links

 
f
{ July 24, 2012    4 Day 2 / Lessons   
b

Leave a Reply