Creating Web Pages / Websites Using MS Word - Session 3

Click on the Word icon to download the instructions on this page in MS Word file format.  (doc. 765KB)

click the icon to download the instructions on this page in PDF file format.  (PDF 1252KB. You need Adobe Reader to download.)

Acrobat Reader software is available for free download from the Adobe Systems web site. To obtain Acrobat Reader, click the icon.

@ @
You may be already familiar with some contents included in this session. Please be aware that this course is designed to allow beginning level computer users to explore all steps necessary to create web pages/websites.
@ @
For those who are taking the correspondence course:
@ Please read and follow the instructions below. There is a task for Week 3 at the end. As you work through the instructions, you will almost have completed the task. Please be aware that there are some more changes you need to make to complete this weekfs task. Week 3 task is due on Wednesday February 21.
@ @
If you have any questions, please contact Shunko Muroya.
@

Shunko Muroya, Japanese Advisor, Curriculum Branch, Alberta Education
Email: shunko.muroya@gov.ab.ca          Tel: +1-780-415-6165          Fax: +1-780-422-3745

@ @
Session 3 (Week3)
@ @
H. Page layout using tables
    
Introduction
     Inserting a table
     Changing the table width
     Making table invisible
     Writing text in table
    
Problem: Text appears broken in two lines
     Making changes to the table
     Selecting Table, Column, Row or Cell
     Changing width and height of column or row
     Merging cells
     Other table functions
     Horizontal alignment - aligning or centering an item in the cell
     Vertical alignment – placing an item at the top, center or bottom of the cell
    
Inserting a table in a cell
I. Background
    
Introduction
     Page background color
     Page background effects
     Using picture for page background
    
Table cell background color
J.

Web page and images
    
Introduction
    
Web page and images
     Accompanying file folder
    
Uploading image

@ @
Week 3 Task
@ @

@ @
H. Page layout using tables
@ @
H-1 Introduction
@

 
Because web pages are written in a special code called ghtmlh, arranging the layout of a page is not exactly the same as other documents/files such as Word document (.doc), PowerPoint (.ppt), Excel (.xls). The easiest way to arrange the layout on web pages would be using tables.

You create a table all across the screen from top to bottom, make the table invisible on the browser, and use each cell of the table to place items such as texts, photos, images, etc.

Double-click your gschool name websiteh folder on the desktop and open it. There should be gindex.htmlh in the folder. Right-click it and click gEdith. It will open as a Microsoft Word document.

  

We will remake the whole gindexh page using a table, so delete the texts you created (the easiest way to do this is to press the gCtrlh & gAh keys at the same time to highlight/select all, and hit the gDeleteh key).

  

@

H-2 Inserting a table
 
@
  1. click gTableh in the task bar, click gInserth, then click gTablech
     

    @
  2. gInsert Tableh dialogue box appears. Change the numbers of the columns and rows as you wish. Wefll set it 3 for columns and 10 for rows for now here then click gOKh.
     

    @
  3. A table should appear. Note that the table is all the way across the screen.
     

    @

  4. If the table is spread all across the screen as shown above, you are fine. But you might want to check the following (H-3) to learn how to change the table width.

H-3 Changing the table width
@
@
  1. If the table is not all the way across the screen (as seen below), you need to change the Table Properties to make the table wider.
     

     

  2. Move the cursor on the table, click gTableh in the task bar, click gSelecth, then click gTableh to highlight the whole table. Or you can do the same (selecting/high-lighting the entire table) by clicking on the crisscross at the left top corner of the table.
     

    @

  3. click gTableh, and click gTable Propertiesh in the task bar. gTable Propertiesh dialogue box appears. click the gTableh tab, make sure the gSizeh box is checked, gMeasured in:h is gPercenth, gPreferred width:h is g100%h (use the small black triangles to change) and then click gOKh at the bottom.
     

    @

  4. Now the table should be all the way across the screen.
     

 

H-4 Making table invisible
@
@
  1. Because you are using the table just for layout purposes, you want the table itself to be invisible.
     
    Get the gTable Propertiesh dialogue box out (Move the cursor on the table, click gTableh in the task bar, click gTable Properties").
     
    In the gTable Propertiesh dialogue box, click gTableh tab, then click gBorders and Shadingch button. The gBorders and Shadingh dialogue box appears. click the gBordersh tab, click the gNoneh box under gsetting:h, then click gOKh at the bottom and click gOKh at the bottom of gTable Propertiesh dialogue box.
     

     

  2. The lines of the table should be shaded now on the Word screen. These shaded lines are called gGridlinesh.
     

    @

  3. If the gGridlinesh are not showing, move the cursor on the table, click gTableh in the task bar, and click gShow Gridlinesh.
     

     
    When you view this web page using a browser, the table wonft appear, but the contents (text, images, background, etc.) you place in the table will appear as you placed them. click gSaveh icon, go to desktop, open gschool name websiteh and double-click gindexh. Nothing should appear on the browser screen at this stage. If you still see the table there, repeat the processes H-1- to H-4.

@

H-5 Writing texts in the table
 
@
  1. You can type in any text in any cell in the table now. Try to type in your website name in the middle cell of the first row. Then arrange the font type, size and color (F-3, 4, 5) and click gSaveh icon.
     

    @

  2. Then try to view the page on the browser. You still have the browser open from the previous step H-4. click gRefreshh button to reload the page (or see process D-1 to D-4). If you can see the text but you donft see the table, then you are fine. If you still see the table, repeat H-4.
     
@ Problem: Text appears broken in two lines
@
@
  1. Are you experiencing a problem like the following image (the text breaks into two lines even though the length of the text is shorter than the length of the cell)?
     

     

  2. The problem might have to do with the settings of the columns. Try the following:
     
    Get the gTable Propertiesh dialogue box out (Move the cursor on the table, click gTableh in the task bar, click gTable Properties"). click gColumnh tab and make sure the gSizeh box is unchecked, then click gOKh button at the bottom of the dialogue box.
     

    @

  3. Move the cursor on the table, click gTableh in the task bar, click gAutoFith, and click gDistribute Columns Evenly.h
     

    @

  4. Then try to view the page on the browser again. Go to the browser and click gRefreshh button to reload the page.
     

H-6 Making changes to the table
 
@

You will need to make changes to the table as you design your web page the way you like. Changes include the following:

-

changing width and height of column, row or cell

-

merging cells

-

splitting cells

-

deleting columns, rows, or cells

-

inserting rows

-

inserting columns

-

distributing rows evenly

-

distributing columns evenly

-

aligning or centering an item in the cell (horizontal or vertical)

-

inserting a table in a cell

@

H-7 Selecting Table, Column, Row or Cell
@
@

When you make a change to the table, you need to select the area where you want to make a change first, and then you make a change by choosing an action from the gTableh menu in the task bar. The selected area will be highlighted. The area you can select is:

- the whole table
- a column or columns
- a row or rows
- a cell or cells

There are a couple of ways to select the area, but itfs basically the same:

- To select the whole table
@ @ Click + (crisscross) at the left-hand top corner of the table
@ or Move the cursor anywhere in the table, click gTableh in the task bar, click gSelecth, then click gTableh.
- To select a column
@ @  Move the cursor in the column, click gTableh in the task bar, click gSelecth, then click gColumnh.
- To select more than one columns
@ @ Move the cursor to the cell in the column where you want to start and drag* the cursor to the cell in the column where you wan to end.
- To select a row
@ @ Move the cursor in the row, click gTableh in the task bar, click gSelecth, then click gRowh.
- To select more than one row
@ @  Move the cursor to the cell in the row where you want to start and drag the cursor to the cell in the row where you wan to end.
- To select a cell
@ @ Move the cursor to the cell, click gTableh in the task bar, click gSelecth, then click gCellh.
- To select more than one cell
@ @ Move the cursor to the cell where you want to start and drag the cursor to the cell where you wan to end.
@ @ @
@ *How to drag – move the cursor to point A, press the left button, keep pressing the button down and move the cursor to point B, release the button.
@
H-8 Changing width and height of column or row
@
@

If you want to change the width of the columns and height of the rows, move the cursor exactly on the line which you would like to change. Make sure the cursor becomes something like g©a¨h, then press the left button of the mouse. Keep pressing it down, move the cursor to where you want the line and release the button (this series of actions is called gdragh). The line should be where you wanted it to be (where you released the button).
 

 
You can also change the height of each row by adding blank lines. Move the cursor to the row where you want to change the height, and hit the gEnterh key to add a blank line. Please remember that if you change the height of the row by this method, then you canft use the gVertical Alignmenth function (see H-12) to designate the location of an item (text/photo/image) to the center of the row.
@

H-9 Merging cells
@
@ Letfs try to merge cells this time. Highlight the cells you want to merge by dragging the cursor (move the cursor to one of the cells you want to merge, press the left button, keep pressing it down and move the cursor to the other cell, and release the button). The cells should be highlighted.
 

 
Click gTableh in the task bar and click gMerge Cellsh.  The cells should have been merged to one cell. You can do this between cells lined up either horizontally or vertically.
 

 

H-10

Other table functions
 

@

You can also do some other table functions listed below to the table by doing basically the same maneuvering seen in Steps H-9 above. Try them and see how it works by selecting a cell by moving the cursor to the cell, or selecting column(s)/row(s)/cells by dragging, and then click gTableh and click the action you want:

-

splitting cells

-

deleting cells

-

inserting rows

-

inserting columns

-

distributing rows evenly

-

distributing columns evenly

In some functions, a dialogue box will pop up to ask some directions, in which case, you need to choose an option or give numbers.
 
Note: Some of the maneuverings above behave in a strange way (changing the whole table the way you donft want) so you may not want to use them. If this happens, click gEdith in the task bar and click gUndoh (or press gCtrlh and gZh keys at the same time). This will take it back to the step just before.
 

H-11 Horizontal alignment - aligning or centering an item in the cell
@
@

You can designate the location of an item in the cell horizontally (left, center or right). The item can be a text, a photo, or an image.
 
Itfs usually set gAlign Lefth as default.
 

 
Highlight the text (or photo/image) and click gCenterh to locate the item in the center of the cell.
 

 
Highlight the text (or photo/image) and click gAlign Righth to locate the item to the right of the cell.
 

@

H-12 Vertical alignment – placing an item at the top, center or bottom of the cell
 
@

You can designate the location of an item in the cell vertically (top, center or bottom). The item can be   a text, a photo, or an image.
 
Itfs usually set at the top as default.
 

 
Highlight the text (or photo/image), click gTableh in the task bar, click gTable Propertiesh. gTable Propertiesh dialogue box appears. Click gCellh tab, click gCenterh, and click gOKh.
 

 
Highlight the text (or photo/image), click gTableh in the task bar, click gTable Propertiesh. gTable Propertiesh dialogue box appears. Click gCellh tab, click gBottomh, and click gOKh.
 

@

H-13 Inserting a table in a cell
@
@

You can insert a table in a cell. Again, you can make the table you insert either visible or invisible, and you can use this function in a various way such as for a menu bar and for a list.
 
Move the cursor in the cell you want to insert a table, click gTableh in the task bar, then click gInsert Tableh. gInsert tableh dialogue box appears. Give the column and row numbers you want for the table, and click gOKh.
 
    

@

@ @
Page top
@ @
@ @
I. Background
@ @
I-1 Introduction
@
@ You can designate a color, a photo or an image/wallpaper for background of a web page. You can also designate a color for each cell of the table as cell background. By coordinating colors, photos, or images of the background of the page, table and cells, you can create a very nice looking web page.

@

I-2 Page background color
 
@

To designate a color for the background of the web page, click gFormath in the task bar, click gBackgroundh, then click the color you like.
 
  
 
You can have more color variation if you click gMore Colorsch. gColorsh dialogue box appears. Click gStandardh tab, chose the color you like (256 colors), compare the new color and the current color at the right-hand bottom corner, then click gOKh.
 

 
If you are still not happy about the color, click gCustomh tab, move the cursor and click to see the new color that appears at the right-hand bottom corner. Keep moving and clicking until you find the color you like, then click gOKh to confirm the color.
 

@

I-3 Page background effects
@
@

If you click gFill Effectsch the gFill Effectsh dialogue box appears. There are four tabs in the box:

- Gradient
- Texture
- Pattern
- Picture (see I-4 Using picture for background )

Click any of the tabs and see what they are like, apply the kind you like and see how they look on the browser screen.
 

 
If you donft like the effect you chose, the easiest way to go back is to click gEdith, and click gUndoh. You can do the same gUndoh action by clicking on gUndoh icon in the task bar, or pressing gControlh key and gZh key at the same time.
 

 
This gUndoh action takes you back to one action before. It is very useful when you made a mistake and go one step back, and it is applicable for almost any action you do as long as you havenft saved the document.

@

I-4 Using picture for page background
@
@

You can use any photo, image, or wallpaper as background.
 
Just remember if you use a large size photo as a back ground it will take a long time for the visitor/viewer to download. This is why wallpaper materials for web pages are usually a small image or a narrow strip of image. The browser (Internet Explorer) repeats the image on the background.
 
To make it easy, we will use the image below for learning this skill. To use the image, you need to save it first. Move the cursor on the image, right-click, and click gSave Picture Asch. gSave Pictureh dialogue box appears. Click pull-down menu gSave in:
¥h, click gDesktoph, double-click gyour school name websiteh folder, and then click OK. The image has been saved in gyour school name websiteh folder.*
 





 This image is from gõˆä‚âh website 
 (http://www.sun-inet.or.jp/~sakura/someiya/someiya.html).

 
Now go back to MS Word gindexh screen, click gFormath in the task bar, click gBackgroundh, click gFill Effectsh. gFill Effectsh dialogue box appears. Click gPictureh tab, and click gSelect Picturech button.
 

 
gSelect Pictureh dialogue box appears. Click gLook in: ¥h, click gyour school name websiteh folder, click the image you just saved in there, then click gInserth button. You will go back to gFill Effectsh dialogue box. Click gOKh. The image should appear as background.
 

 
We used a small image for the background above. Although you can use any larger image or photo for the background, itfs not recommended because it will increase the loading time on the viewersf side.
 
There are many websites that offer free background images and wallpapers for non-commercial use. Use search engines such as gGoogleh and gYahoo!h to look for them. You can also find some links to websites that offer free Japanese style web resources at the gLinksh page of gNihongo Memoh. (www.nihongomemo.com)

@

I-5 Table cell background color
@
@

Select any cell/row/column (see H-7), click gTableh, then click gTable Properties. In gTable Propertiesh dialogue box, click gBorders and Shadingch button at the bottom.
 

 
In gBorders and Shadingh dialogue box, click gShadingh tab, choose a color you like (you can click gMore Colorsh button and choose from either gStandardh or gCustomh as well). Keep clicking on gOKh till the dialogue boxes disappear.
 

 
You should have the gindexh screen as below. Try to view the page on the browser again. Go to the browser and click gRefreshh button to reload the page (or open gyour school name websiteh folder on the desktop, and double-click gindexh).
 

@

@ @
Page top
@ @
@ @
J. Web page and images
@ @
J-1 Introduction
@
@ In this section, we will briefly learn how to upload images to the server as we used an image for the background in the section above. We will learn how to handle images in depth in the Week 4 instructions.

@

J-2 Web page and images
@
@

When you use any picture (photo, image, wallpaper) on your web page, that picture is not actually included in the page. The page only has the URL (web address) of the picture in it, and the browser retrieve the picture from the server and display the picture in the designated location of the page for you. So when you upload a web page to the server, you need to upload the pictures separately to the server as well.
 
You have seen a web page with a small red X in a blank area as below. This happens when the image is not uploaded properly or an image with a wrong file name is uploaded to the server. The browser (Internet Explorer) can not retrieve the right image and leaves the area blank with a red x to tell you that an image is missing.
 

@

J-3 Accompanying file folder
@
@

All the images that you use in your web page will be saved automatically in a folder that the MS Word automatically creates. Open gyour school name websiteh folder on the desktop. There should be a folder named gindex_filesh. This is where MS Word saved the image. Double-click the folder and open it. There should be gimage001h in the gindex_filesh folder. This gimage001h is the image you are using for the background. Double-click gimage001h to see the image. You will see the same image you used for the background. You may close them for now.
 

@

J-4 Uploading image
@
@

You used an image for the background of the gindexh page in the Section I above, so when you upload the gindexh page, you need to upload the image as well.
 
First you need to upload/update gindexh page (index.htm) to the server. Follow the instructions C-1 to C-9. At this point, your background wonft show. So you need to upload gimage001h to the server.
 
To upload the images you used in your web page, you need to create the same directory environment (gindexh page and gindex_filesh folder in one directory, and gimage001h in gindex_filexh folder) at the server.
 
On hFile Managerh page, click gNewh button under gSubdirectoriesh. gCreate Subdirectoryh page appears. Type in the folder name of which the image is saved. In this case itfs gindex_filesh. (This has to be done very carefully. The subdirectory folder name must be exactly the same as the folder name of which the image was saved. The underscore g_h has to be the underscore. It can not be replaced by hyphen g­-g. To type the underscore, press down gShifth key and press hyphen g-g key). Then click gCreate Subdirectoryh button.
 


In the gFile Managerh page, make sure that there is gindex_filesh folder that you just created, and click it to open that subdirectory. A similar gFile Managerh page appears. Make sure that gindex_filesh folder is open, and click gUpload Toh button.
 

 
gEZ Uploadh page appears. Click gBrowsech button. gChoose fileh dialogue box appears. Click gLook in:
¥h,  look for gyour school nameh folder in the desktop, double-click gyour school name websiteh folder, double-click gindex_filesh folder, and click gimage001h, and then click gOKh at the right-hand bottom corner of the gChoose fileh dialogue box. Make sure the file name gimage001h appears in the rectangular box next to gBrowse button, also make sureh Automatically convert filenames to lowercaseh box is checked, then click gUpload Filesh button.
 

 
Make sure gUpload resultsh indicates ghimage001.gif – uploaded successfully, then click gFile Managerh. You can also check it on the gFile Managerh page. Click gindex_filesh to open the subdirectory and see if gimage001.gifh is in there.
 

 
Now itfs time to see if the background appears correctly. Click gViewh. You can also open the gindexh page without leaving the gFile Managerh page by right-clicking on the URL, and clicking on gOpen in New Windowh.
 

 
If the background doesnft appear, there is something wrong in the process above. Try to re-do the Step J-3.

@ @
Page top
@ @
End of Session 3
@ @
@ @
The following is the Week 3 Task for those who are taking the correspondence course.
@ @
1 You have your gindex.htmh in front of you. Follow the instructions A to G below and edit your gindexh page so that the page will look similar to the sample illustration shown below.
@ @
@
@ @
1-A

Make this column narrower (see H-8).
Make the height of the rows in this column even (see H-10).
Designate a color to this column (see I-5).

@ @
1-B

Change the size of the text gABCD‚ZƒEƒFƒuƒTƒCƒgh to 36 (see F-4).
Designate a color to the text (see F-5).
Designate another color to the cell so that the text is easy to read (see I-5).

@ @
1-C Merge cells in this area (see H-10).
@ @
1-D

Type in gƒRƒ“ƒeƒXƒgh in the area C.
Change the text size to 36 (see F-4).
Align the text so that it is located right in the middle of the cell (see H-11, H-12).

@ @
1-E Merge cells in this area (see H-10).
@ @
1-F

Type in the name of your city in katakana.
Change the text size to 36 (see F-4).
Align the text so that it is located at the right-hand bottom corner of the cell (see H-11, H-12).

@ @
1-G

Use the image below for the background (see I-4)



  This image is from g
õˆä‚âh website
   (http://www.sun-inet.or.jp/~sakura/someiya/someiya.html).


* For those who are looking at a PDF file or a printed hard copy of this instruction, please go to the Japanese Web Page Contest website (www.japanesewebpagecontest.com)and click gWeb Page Instructions – Session 3h, click gTask,h  and download the image.
@ @
2 After finishing the instructions above, upload the gindexh page and the image to the server (see J-4). Now you should be looking at your gindexh page on the Internet. Click the URL in the gAddressh box to high-light it, right-click, then click gCopyh to copy the URL
@ @
3 Open your email program (Outlook, Outlook Express, etc.), open a new email message, and paste the URL onto the text area (move the cursor inside the text area, right-click, then click gPasteh).
@ @
4

Also type in the following information in the text area:

- your name
- your school name
- telephone number to reach at school (optional)
- your province/state
- your country
- your Yahoo! Password*@
- questions, suggestions, comments, etc.
@ @
@ * Your Yahoo password is required strictly for technical purposes for the course instructor to assist course participants when technical problems arise. Please do not use this yahoo ID and password for any other purpose than this course and the Japanese Web Page Contest.
@
5 Type in gWeek 3 Taskh in the Subject area.
@ @
6 Send the email to:       shunko.muroya@gov.ab.ca
@ @
Please send the email by Wednesday February 21. Your task will be checked and you will receive a confirmation email. Next instruction material (Week 4) will be sent out to you on Friday February 23.
@ @
Page top