HOW TO ADD ONE OF MY BUTTONS (Save this file as text)
(The procedure is the same for adding any buttons or other
images with a link)
1. Copy the image to the directory where your web pages are.
Change its name if you like.
2. Copy and paste the following in your html file at the
point where you want to add the button:
3. Replace the word "button.jpg" with the name of the image
file you have saved.
ADVANCED
1. Border="0" is added so that an image which is also a link
will not have a border of a different color (usually bright
blue). You can take this off if you wish.
2. The ALT text is required on any image that is not just
decorative, for people with disabilities, text browsers or
just those that have turned off images in their browser.
3. For "correct" HTML, you should also add the "width' and
"height" attributes on all images. It helps the browser
reserve space for the image, before it has downloaded.
This is not really necessary for small buttons or bullets
or lines. If the values are wrong, the image will appear
distorted. The syntax is:
The values are in pixels. You can find the width
and height of an image with any image viewer.
You can also find the width and height by opening
the image in Internet Explorer, right clicking on it and choosing
-properties from the menu.
4. For linking another image to some other page, edit the
"A HREF" and the "ALT" part accordingly.