Dreamweaver CS3 Tutorial: Table based Layout Website

Dreamweaver CS3 - Table based layout
View Demo

Before you begin Project 1:

  1. If you are a beginner make sure you go through steps 1- 10 of the Dreamweaver CS3 Tutorial before attempting this project.

  2. Download Tutorial Files (DWCS3_htm.zip file, 44 KB)

  3. After downloading the files make a copy of the 'images' folder in another folder entitled 'project'.

  4. Define a new Dreamweaver site for the 'project' folder. You can also define another for the original downloaded folder. You can use this to compare and analyze in case something goes wrong or you are confused about how to do something.

Begin Tutorial:

Dreamweaver Template

  1. Create a New HTML Template. Save it as template.dwt. It will get saved in a new "Templates" folder.
  2. Modify > Page Properties (Set Left/ Right/ Top/ Bottom margins = 0)

Table #1

  1. Insert > Table (with 2 columns > 1 row > 780 pixels > cell padding = 0 > cell spacing = 0)
  2. Select Table (right click in the table > Table > Select Table). In the Properties Panel set Align = Center.
  3. Click in the 1st cell > Insert Image > browse to images folder > selct logo.gif > type alt tag = logo.
  4. You can adjust the width of the 2 cells. Click inside the 2nd cell. In the properties panel set Align = right. You can add the code for a site search here if you like. For now you can add a form tag, form field and button [ Insert > Form. Then click inside the form outline that will display and Insert > / text field / button].

Table #2

  1. Click outside the table. Insert a table (1 row/ 1 column/ 780 pixels/ cell padding = 5/ spacing = 0 / border = 0)
  2. To set the background color of the table, in the properties panel, click on the box with the little triangle next to "Bg" and use the eyedropper to pick the yellow color from the flower.
  3. Click inside the table. Enter Menu text [Home | Service | About | Contact ]

Table #3

  1. Create another table. Select the table and align center. insert a transparent spacer image (1x1 pixel). The table will collapse to 1 pixel height. Since we want it to be white we won't put a background color. This will be a white line.

Table #4

  1. Create another table. Select the table and align center. Use th eyedropper to pick a green background color from the leaf in the logo image. Insert the spacer image. The table will collapse to 1 pixel height. It will be a green line.

Table #5

  1. Insert another table (cell padding = 5). Select table and align = center in properties panel.

Editable Region

  1. Insert > Template Objects > Editable Region > name it ‘content’

Table #6

  1. Insert another table. Give it a green background and insert the spacer image.
  2. Insert another table (cell space = 5 px)
  3. Click inside the table. Align = center in properties panel.
  4. Type in footer text (coyright 2007 site name) and format it (size and color)

CSS Styles

  1. New CSS Rule > Tag  = H1 > Select the green from the leaf  and size = 20, and font = Arial, Helvetica, Sans-Serif and weight= bold
  2. New CSS Rule > Tag  = body > Size = 12 and font = Arial, Helvetica, Sans-Serif
    Save template

Page #1

  1. Create new html page [File > New > Page from Template > Project > template > Create]and name it "index.html".
  2. Insert the 2nd image and give it the alt tag 'mother and child'.
  3. Type in the textual content. Select the heading text and select 'Heading 1' from the 'Format' dropdown in the Properties Panel. This will style the heading as per the H1 css style create earlier.
  4. Click image. Set align = right in the properties panel.
  5. Type 'Home page' in the document title (at the top of the document window).
  6. Type in the keywords for the page [Insert > HTML > Head Tags > Keywords]
  7. Type in the description for the page [Insert > HTML > Head Tags > Description]

Pages #2, 3 and 4

  1. Make copies of the index.html file (from within the 'Files' panel - if not visible on the left go to Window > Files) and rename them to service.html, about.html and contact.html.
  2. Put the appropriate headings, content text, title, keyword and description tags, and images into these 3 new pages.

Link the Menu

  1. Now we must go into template.dwt and link the pages from the menu.
  2. Select the text "Home"
  3. Click on the folder icon next to the Link field in the properties panel.
  4. Browse to index.html and select it.
  5. You will see an underline appear below “Home” and it changes to a blue color.
  6. Click anywhere within “Home” and click the <a> tag that is visible at the bottom of the document window.
  7. Give the color and font properties, notice the style name that is created as you will need to apply the same style to the other 3 menu items.
  8. Link and apply the same style to the other menu items.
  9. Save the template and the pages will be updated automatically.
  10. Right click on index.htm > Click preview in Browser > Select Internet Explorer or Firefox > View your site in the browser > check to see if all the links are working ok

Now you are ready to go live! Congratulations!

In order to make you website live you will need to sign up with a hosting server. I recommend Hostgator which I use to host this site.

Go to Project 2 >>


 

Dreamweaver is part of Creative Suite 3 Web Standard
Streamline web design, development, and maintenance. Order Now!





God Loves You! "For God so loved the world that he gave his one and only Son (Lord Jesus Christ),
that whoever believes in him shall not perish but have eternal life." - John 3:16, Bible