Craig Stroupe | University of Minnesota Duluth Table-Based to CSS-Based Page Design

1. Table-Based Page (Old School) What to do How to do it 1. Create a folder called “table_based” in your exercises folder

2. Inside “table_based,” create a folder called “assets.” 3. Download any images I In your browser, right-click each image and choose “Save Image As” have provided to the assets folder (www/4250/exercises/ table_based /assets) 4. In a blank Dreamweaver Insert > Table page, create a three- In the “Insert Table” window, enter the following values: column layout table that is Rows 1 650 pixels wide. Columns 2 Width 650 (Note that as long as you Border 0 don’t include a “%” after the Click “OK” number, Dreamweaver understands that you mean the number as a pixel measure.) 5. Above the two-column Click anywhere in the 3-column table table, insert another, From the tag menu at the bottom left of the document window, choose single-cell table that is

centered at 650 pixels On your keyboard, hit the left arrow button to move your cursor to the wide. left outside border of the table. On your keyboard, hit “Enter” (PC) or “Return” (Mac) to insert a line break

With your cursor now above your 3-column table, follow the directions in the previous step to create a new table: Rows 1 Columns 1 Width 650 Border 0 Click “OK”

Delete the line break you entered so the two tables snug together vertically.

6. Center both tables on the Select the table page In the Properties Palette, find the “Align” drop-down menu and choose “Center” 7. Make the two columns of Select the left column (control + click in the column) the bottom table these In the Properties Palette next to “W,”enter 350 and choose pixels as the widths (from left to right): measurement 150 pixels, 500 pixels Select the right column In the Properties Palette, be sure no value appears in the “W” box 8. Title the page, “Table- Type in , “Table-Based Web Page” in the little “Title” window at the Based Web Page” and top save the page as Choose File > Save As “index.html” to the folder “table_based” 9. Insert the banner image in From the “assets” folder in the Files Panel, drag the banner image file the top, single-cell table. into the upper table.

10. Set a color for the Select the lower table (use tag menu at the bottom left) background of the lower In the Properties Palette, find the “Bg Color” tile at the bottom table from the banner Click the color tile, and then use the cursor to select a light color from image. the banner image in the document.

11. Set a darker color for the Modify > Page Properties background of the page On the “Page Properties” dialogue box, find the “Background color” behind the layout table tile, click it and use the cursor to select a dark color from the banner image in the document. Click “OK” 12. From another Web page or other source, paste in some placeholder text. 13. Save the page again Control + S (PC) or Command + S (Mac)