Skip to content

appdevspring17/friendbook_with_grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Friendbook with Grid

In this project, we're going to switch from using a <table> for layout to a better system; a grid of <div>s that we'll float next to one another.

Setup

  1. Click the "Clone or download" button.
  2. Select "Download ZIP".
  3. Extract and open the entire folder in Atom.
  4. Open with_table.html in Chrome.
  5. This was my solution to the homework. Study it and think up questions. CSS style rules are located in our_styles.css.
  6. Follow along with the video linked from Canvas
  7. We will explore some more CSS, the following diagram of the HTML Box Model will be useful:

From table to grid

We translate the basic <table> layout to one that uses the <div> block element. The <div> element is simply a way to contain or encapsulate some html within a block for some common styling purpose.

  1. Open up with_grid.html
  2. Each <table> element has been translated to a <div> element as follows:
table element grid element
<table> <div class=“main-content”>
<tr> <div class=“row”>
<td class="main-content-cell" colspan="6”> <div class=" main-content-cell colspan-6">

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published