Using Netscape Composer 4.x to Create and Edit Web Pages
on Lehigh's website, www.lehigh.edu
Technical Bulletin #33
Netscape Communicator (4.0 and up) includes a Composer function for creating,
editing, and uploading web pages. This editor function is best used by
those:
-
Who want to create or edit basic pages.
-
Who want to edit HTML pages already exported from Word Perfect, Word, or
Pagemaker
-
Need very basic editing capability.
-
Don't intend to use frames,complex tables or other complex formatting,
or forms.
-
Who have a basic knowledge of how HTML works, and how the Web environment
at Lehigh works.
Getting Netscape Composer
Netscape Communicator with the Composer function is available through Install
Software/Winstall on the Public sites and LAN connected machines, or it
can be downloaded from the Netscape Web site.
Configuring Netscape Composer
Open Netscape Communicator and choose Composer from the Communicator menu.
In Composer, choose Preferences from the Edit menu. In the left-hand
menu box, double click on Composer.
In the right-hand box:
-
Put your name in the Author Name area.
-
In the radio buttons, choose 'Show relative HTML scale and absolute "point-size"
attributes
-
Choose an editor to edit raw HTML. We suggest Word Pad.
(C:\Program Files\Accessories\Wordpad.exe)
Click on the Publishing item in the left-hand box, and in that section:
- UN-check the box:
- Maintain Links
If you leave this box checked, Netscape will assume that all the pages you
are linking to are on your hard drive. Uncheck it so you can use partial URLs.
- Consider whether or not to check the box:
- Keep Images with page
If you are working primarily with images that are already on the web, uncheck
this box. If the box is checked, Netscape will publish any images you put
on your page along with the page, rather than referencing them from the Web.
- In the Publish to: box, type:
https://www.lehigh.edu/~userid/
where userid is the Lehigh userid of the AFS account you want
your web pages to go into.
Using Netscape Composer to create and edit a document
To create a document in Netscape Composer, choose New from
the File menu, and choose Blank Page. In the window that
appears, create and edit your page.
To edit either an existing document on the Web or a document created
in Netscape or saved as HTML from another program:
-
View the document in Netscape. (If the document is still on your machine,
you may need to choose 'Open Page' from the file menu, then use the Browse
option to find it on your drives.)
-
From the Communicator menu, choose Edit Page
-
A Composer window will come up with the document in it.
-
Make the changes you wish to, using the Composer tools.
Editing an HTML document created in Netscape and saved previously, created
in another editor, or in fact any HTML document:
-
From the Communicator menu, choose Page Composer
-
Choose Open Page from the File menu
-
Click Browse to find the file if it is on your local hard drive, or enter
the file name if it is on the Web.
-
Make the changes you wish to, using the Composer tools.
Typing in your document
To make a break (BR) in the document, simply press the return/enter
key.
If you are in a list, pressing return will give you a new list item.
To a make a new paragraph (P) in the document, simply press the return/enter
key
twice.
To create line break (BR) in a list without making a new paragraph or
list item, hold down the shift key while pressing return/enter.
To create a horizontal line (HR), click on the H.Line icon, or
choose Horizontal Line from the Insert menu.
To change the style of the text you are typing, highlight it and choose
the style you want from the Style item on in the Format menu.
Change text alignment by choosing Align in the Format Menu
To insert text that is already formatted (PRE)-- text that has tabs,
special spacing etc., such as statistical tables, etc.--, start a new paragraph
and choose Formatted from the Paragraph Style menu in the upper-right corner.
Headings
Headings are section titles in the HTML; they come in 6 levels, with Heading
1 (H1) the most important and Heading 6 (H6) the least.
To change a line to a heading, you need only click on that line and
select Heading 1, Heading 2, etc. from the box in the upper left of the
screen (usually displays normal). This is the Paragraph type box; you can
adjust the paragraph type also by right mouse clicking on the line and
choosing Paragraph/List properties.
Making Lists in your document
HTML includes three kinds of lists:
-
Ordered, or numbered lists
-
Unordered, or bullet lists
-
Descriptive lists
Bullet (Unordered) and Numbered (Ordered) Lists
To create a bullet list or numbered list, go to the place where you
want to put the list, and click on the bullet list or numbered list icon.
You can also select text and make it a numbered or bullet list by clicking
on the icons. Type in your points, pressing Return for new points. After
the last point, press Return and then click on the list icon again, to
turn it off.
You can put more than one line inside a single list item: hit Shift-Return
for a line break to make a new line, rather than a new list item.
You can next lists inside other lists, by using the indent feature.
Nested bullet lists use different bulletins; nested numbed lists use different
numbering. To nest points, use the 'indent' icon.
-
Part One
-
Point A
-
Point B
-
Part Two
Descriptive Lists
Descriptive lists have two different kinds of items in them: Descriptive
Titles (DT in HTML) and Descriptive Text (DD in HTML.) They are useful
for definitions, glossaries, points that require explanation, etc.
-
To create a Descriptive list, choose List from the Format menu,
then choose Descriptive.
-
Type in your list.
-
For each list item:
-
Go to the line, and right-mouse click on it.
-
Choose Paragraph/List properties
-
Choose Desc Title or Desc Text from the Paragraph Style pull
down, and click OK.
Putting Hypertext Links in your Document
Links to other documents
To create a link to another document, you must first have the URL (address)
of the document. If the other document is in the same space and directory
that the document you are linking from is, you can just use the file name;
otherwise you should use the URL.
-
You can copy the URL of a document from Netscape, by clicking in the Location
box so that the URL is highlighted, and pressing Control-C.
Or, you can copy the URL from a link to the document, by right-clicking
on the link and choosing 'Copy Link Location' from the menu.
-
Once you have the URL, go to the piece of text you want to be the link.
Highlight this text with the cursor, and click on the Link (chain)
icon, or select Link from the Insert menu.
-
Paste or type the URL or file name of the document you want to link to
into the Link to a page location box.
Note: Links have to have the full name of the server: http://www.yahoo.com,
NOT www.yahoo.com.
Links within your document
You can also create links within your document, to serve as a table
of contents.
-
First, set targets in your document, where you want your links to go.
-
Select text in the area where you want your links to go to.
-
Click on the Target icon, or choose Target from the Insert
menu.
-
Enter a short piece of text to identify the target (something you will
remember) in the Enter a name for this target box, and click OK.
-
Repeat for each target you want to set.
-
Then, create your table of contents (put the text into the document) to
link from. You can use a bullet list for this if you like, or just a bunch
of paragraphs. You can also link directly from one part of the document
to another, by making a piece of text the link rather than using a table
of contents.
-
Finally, set the links from your table of contents to the targets.
-
Select the text (either the table of contents entry, or the text in the
section) you want to make into a link.
-
Click on the Link icon or choose Link from the Insert menu.
-
Choose the target you want to point to from the Select a named target
box.
Links that send mail
From time to time, you will want to set up a way for people to send
mail to a certain email address. This can be done with a link.
-
Type in the email address. For example: xxxx@lehigh.edu
-
Select the email address.
-
Click on the Link icon
-
In the Link to page location box, type in:
mailto:[email address]
For example:
mailto:xxxx@lehigh.edu
-
Click OK.
Putting Images in your document
- First, get your image. There are many ways to get an image:
- Download it as freeware of the Web (be sure to ask permission!)
- Scan an existing image using the scanners in Media Production or the
Computing Center
- Create an image using a program such as Photoshop
- Use an image off the Lehigh web (check out http://www.lehigh.edu/icons/icons.html),
by getting the image URL (use the right mouse button on the image while
browsing, and choose Copy Image Location).
- etc.
Your image should be in GIF (.gif) or in JPEG (.jpg) format.
If it is in another format, you will have to use Netscape to convert it to a
.gif or .jpg file, or use Photoshop or a similar program (which may produce
better results).
- Either put your image in the same directory as your .html file, OR (if
it is already a .gif or .jpg file) upload it to your web space (using SSH
Secure File Transfer.)
- Now, you want to insert your image into the document.
- Place your cursor where you want the image to appear in the document.
- Click on the Insert Image button, or choose Image from
the Insert menu.
- Enter the file name or the URL of the image you want to use.
- If the image is on the Lehigh web or another web site, click on the Leave
image at original location button to keep Netscape from downloading
a copy for you.
- Click on the ALT text/Low Res Button, and enter a caption or description
of the image.
- Click on OK in the ALT text window.
- Click on OK in the Insert Image window.
- If the file is not a .jpg or .gif image, you will be asked if you want
to save it as a .jpg file. Click on OK; then choose a quality of image.
- Your image will appear on the screen. It can now be dragged, moved, or
repositioned with the mouse; you can change image properties by clicking on
it with the right mouse button and selecting image properties.
- If the image was not originally a .jpg or .gif image, you must save it
as one.
- Right-click on the image when you are satisfied with the size and shape.
- Choose "Save As" from the menu.
- Give a file name to the image; it should automatically end it .jpg
- Remember, when publishing or uploading the HTML page, to select the image
as associated with it.
Changing item properties
To change the properties of an item, such as a horizontal rule, right mouse
click on the item and choose the correct 'properties' option.
Colors
In working with colors, you have two options: you can adjust the colors
for the whole document, or you can set colors for just the text you are
working with.
To change the page colors (and background) right mouse click and choose
Page
Properties and click on the Colors and Backgrounds tab, or choose
Page
Colors and Properties from the Format menu.
-
If you don't want any colors set for your page, click Use viewer's colors.
Otherwise, choose Use custom colors.
-
To set any of the color options (background, text, etc.) click on the color
sample box next to the item, and choose a color from the menu that appears.
-
To set a background image, click on Use Image and enter the filename
or URL of the image that you wish to use.
(If you're using a Lehigh background, PLEASE click on 'leave image
at original location' too.
To set colors for a specific piece of text, simply highlight it and choose
Color
from the Format menu. Choose the color you want from the colorbox.
In any case, you can change the colors available by clicking on the
Other button in the color box, and adjusting the color.
Making Tables
Netscape Composer is not recommended for creating complex tables, but you
can create simple tables using the Tables function.
-
Click on the Table icon or choose Table from the Insert
menu.
-
Set the number of rows (horizontal sections) and the number of columns
(vertical sections) .
-
If you want the table to 'stretch to fit' the content inside it, uncheck
the 'Table Width' attribute.
-
Leave the 'border line width' attribute at 1 to get a thin border; set
it to 0 (zero) and/or uncheck that option to get no border at all. Click
on OK to insert the table.
-
Type the information in the cells. Use the tab key to switch between cells.
Once you have created the table, you can use Add to add or delete table
rows, cells, and columns.
-
Right-click at the spot you want to add or delete a column, row, or cell.
-
Choose either 'Insert' (to add) or 'Delete' (to remove) from the menu.
-
From the submenu, choose the element you want to insert or delete.
You can also change background colors, alignments, etc. for tables and
cells by right-clicking on the table and using the Properties menu item.
Note: you cannot set text attributes (such as size, style or color) across
table cells.
Previewing your page
To check the look of your page, choose the Browse Page item in the File
menu. Netscape will open up another browser window and display your page.
To get back to the editor, simply close the new window.
Putting up your document on the Web
Composer allows you to put your documents directly back onto the web, called
Publishing.
Once you have completed your document changes, save your document. Now
you are ready to Publish it.
- Click on the Publish icon. A box with options will appear.
- Fill in a Page Title in the first box (this will be the title in the blue
Netscape Bar at the top of the screen; it will also be the name of the bookmark
when the page is bookmarked)
- Fill in the filename you want it to have on the Web server (Use the full
UNIX file name).
- Make sure the Publish to location is the account and directory you want
to upload to, usually:
https://www.lehigh.edu/~userid/
For instance, for
http://www.lehigh.edu/~inwww/swat/index.html,
you publish to:
https://www.lehigh.edu/~inwww/swat/
- Fill in the userid and password for the account you want to put this in
(inwww, for instance, in the previous example)
- If you have files, such as graphics or other pages, associated with the
page, use the Other Files to Include box to select the ones you want to upload.
- Click on OK to start publishing.
- If the upload completed successfully, you will get a message saying that
your file was successfully uploaded.
Note: if you are trying to publish to two different web spaces, which require
two different userid/password pairs, you will need to either shutdown and restart
Netscape between publishing. Otherwise, when trying to upload with the second
userid/password pair, you will get an error.
Netscape Dos and Don'ts:
There are some things you should do in Netscape that you may or may not
be prompted to.
-
Give your page a title
The title is the part that appears in the blue Netscape bar, and is
saved as the title of the bookmark.
-
Pick a title for your page which is brief but informative.
-
Right-mouse-click and choose Page Properties from the menu
-
Click on the General tab.
-
Type your title in the box for title, and Click OK.
-
Add a date
For your own use, and to let users know how 'fresh' the information
is, put the date the page was created or modified somewhere on the page.
-
Sign your page
Put your name or initials somewhere on the page (end of page is best)
and include a link to your email address or the email address of the person
or group maintaining the page, so that if there is a problem or error,
people can get in touch with you.
-
Browse/check your page in Netscape and Internet Explorer.
Sometimes, things look very different in different browsers. After
you've published your page, take a look at it in other versions of Netscape,
on other computers, and also in browsers like Internet Explorer, to make
sure that there aren't any hidden problems.
-
Make a link to your new page.
Once a page has been published, it still isn't available to people
unless they know where to find it. You should edit your other pages to
provide links to that page as appropriate. If you need your page linked
from a Lehigh main page, send mail to the person maintaining that page
(there should be link at the bottom of the page to their email address).
To link department and group pages, send mail to www@lehigh.edu.
There are a few things you can do in Netscape that you probably don't
want
to do:
-
Blinking text
Voted the most annoying HTML feature ever created. Don't do it: it
upsets people and distracts from your content.
-
Color overload
Netscape lets you set the background color and/or image, text colors,
etc. for your page. First of all, make sure your colors have enough contrast.
Dark blue text on black is hard to read; so is yellow on white. Pick simple
backgrounds so your words can be read. Don't use too many colors (more
than 8 or so), or people's eye's will start to hurt!
-
Use a specific font
You can choose a font from the font menu, but try to avoid doing so!
Fonts vary from machine to machine, and most PC fonts aren't available
on other machines. Stick with Variable Width (normal) and Fixed width.
-
File names with spaces in them
While Netscape will let you save a page to a file whose name has spaces
in it, when you upload the file it will not work on our system. (UNIX file
systems do not allow filenames with spaces in them.)
-
Indents
HTML doesn't really indent things. (When you click on the Indent button,
you are actually creating a list with no items.) The fact that you can
indent in Netscape is actually not a reliable feature, but a bug! This
means that indentations can't be reliably used to lay out your page.
-
Frames
Frames are very difficult to do well, and when they are done badly,
users find them very annoying. Though it may be tempting to create frames
to avoid entering the same text or images on every page, it's far better
to use a template with the information, or cut and paste. Netscape isn't
a very good way to handle editing frames, either.
11/05/02, jah