"Help Answers" compiled from Ringmasters-l mail list

Web Ring Help


HTML Tricks for your Web page

AUTOMATIC DATE UPDATE
How can I automatically put a date on my web page when it is update?

If you have SSI on the server use this:

<CENTER> Last Updated: <!--#echo var="LAST_MODIFIED"--> </CENTER>

Last Updated: Wednesday, 20-Jan-1999 05:42:03 EST

Make sure the file is a .shtml not .html or .htm because it wont work
This will AUTO add the date it was updated when the page is viewed...
-- VIPER

If the above doesn't work on your web host or server, try the following. It works at the bottom of this page.

<SCRIPT LANGUAGE="JavaScript"> <!---//hide script from old browsers document.write( "<br><FONT SIZE =-2> <I>Last updated "+ document.lastModified ); //end hiding contents ---> </SCRIPT> </I> <BR>

which looks like this:

-- Morgan Smith

Back to Main MenuUp to Top of Page

Where can I find some examples of different Webring logo layouts?

I have gathered quite a few examples and displayed them here:
http://visions.simplenet.com/webring/index.html
-- Virginia Blalock

URL FORWARDING - AUTO. REDIRECTION

I want to redirect surfers from my old page to a new one. From some old help-file I got the impression that I could do this by adding a META tag in my page heading.
Basically it is just a page that redirects you to the new site. I use this, which automatically forwards most browsers:
<html>
<head>
<meta HTTP-EQUIV="Refresh" CONTENT="5; URL=http://whatever.com">
<title>Go to the new site</title>
</head>
<body>
<p align="center">This page has moved to <a
href="http://whatever.com">http://whatever.com</a></p>
<p align="center">Wait and you will be sent to the new page or click the link above.</p>
</body>
</html>
The meta tag forwards the person after 5 seconds (the time can be adjusted with the CONTENT="#; to however many seconds you want) to http://whatever.com ......otherwise they can click the link.
-- Steve Kraus a.k.a. NeuroCrash

Here's an example code to do an automatic redirect
<META HTTP-EQUIV="REFRESH"
CONTENT="3;URL=http://www.whatever.com/webring/index.htm">
<HTML>
<HEAD>
<TITLE>Redirection</TITLE>
</HEAD>
<BODY>
<H1>The Ring has moved</H1>
If you have a browser capable of reading METAs you will be redirected automatically.<BR>
If you don't, then we'll just have to do a <A HREF="/webring/index.htm">manual redirect</A>.
</BODY>
</HTML>
-- MoonStalkeR

A common mistake is to misplace the quotation marks in the "Content=" section. But the URL has to be an explicit one, including server type and full pathname; relative URLs don't work.
So a correct statement would be:
<META http-equiv="Refresh" CONTENT="1;URL=http://www.yourdomain.com/new_file_name.html">
In the case of the example, the new page will begin loading one second after the original page is finished loading.
You might want to have a brief text statement on your original page pointing, with a link, to the new page, then allow a few more seconds so folks can read it.
Most browsers now handle the REFRESH tag, but the posted link on the old page will take care of any visitors who run browsers that don't refresh.
As a by-the-way, if the line reads:
<META http-equiv="Refresh" CONTENT="300">
The same page will reload every five minutes. A useful trick for sites that have dynamic content--like news headlines--that is constantly changing.
-- Ed Williams

I would also recommend adding a line on the page "The site you are looking for has moved to <link>new_file_name.html</link> This page will reload automatically. If it doesn't, click the link".
I would also change the content=1 to 5 so it will wait 5 seconds, instead of 1.
-- Eric Abrams

Back to Main MenuUp to Top of Page

SPECIAL CHARACTERS
How do I put Umlauts or other special characters in my HTML code.?

Go to CHARACTER on this Web site.
-- Morgan Smith

"TYPESETTING on the Internet"

Why is a sentence/phrase wider on my monitor in Times Roman than it is in Arial?

The reason for the difference in total width of the same words set in say Arial (sans serif) and Times Roman (serif) has to do with the nature of "typesetting".
The www HTML uses "proportional spacing" or "kerning" between each letter character you type in a sentence (for ex.) which will be read on your web site.
The best example is the standard typewriter, used in an office. All the letters are spaced evenly apart regardless of whether they are an "i" or a "k" which makes words appear boxy.
In typesetting, the spacing between letters is adjusted (kerned) so that the letters are spaced proportionally apart. A word like "this" has different spacing between the "t" and the "i". This spacing has been judged more attractive to the human eye for a long time and has been incorporated into HTML language and is done automatically.
Times Roman is a serif type, which means each letter has a "tick" at the top, bottom, and on "k"s etc. in the middle. Arial is "sans serif" (without serif) so it does not have these extra ticks.
Since the ticks take up even more space for each letter than a sans serif font face, the kerning is different (generally wider). If each letter in a word is wider because of the kerning, then the whole word will be wider.
Therefore, a word specified in a serif font like Times Roman, will always be wider (however small that difference may be) than the same word in sans serif font such as Arial. If there is a given space (limited amount of space) for a word or multiple words (such as your web ring code), they may all fit on one line in Arial, but, since it is wider, may take two lines in Times Roman.
If you don't specify a font, the browser defaults to Times Roman (in Netscape), which might make it impossible to get the words spaced correctly or as you would like.
Both Arial and Times Roman come installed on newer IBM machines as part of Windows95 and therefore are available to a large population of web surfers.
To specify a font face not usually found on any machine means that your favorite font will not be viewed by very many people, but instead will be viewed in the default font of Times Roman (unless you've changed the default setting to some other typeface).
-- Morgan Smith

Back to Main MenuUp to Top of Page

Back to Main MenuUp to Top of Page

IMAGE MAPPING
What do I do to make an Image Map.

Map Edit is a great program to try for making image maps. It's simple and easy and will write the code directly to your webpage where the image is located. You supply the image and the urls and it does all the coding for you. Map edit can be found on the web.
http://www.boutell.com/mapedit/
-- Cori Mandingo

A listing of links to "Image Map" resources may be found at:
http://www.anancyweb.com/imagemap.html
-- Morgan

Caps & lc letters Mail addresses are interpreted by a mail server designed to filter,encapsulate and distribute to a destination. That software is not interpreted by the UNIX,LINUX,Solaris etc OS. This is why the e-mail addresses are accepted. There is no connection between an E-mail address and OS filenames. Please feel obliged to correct me if I'm wrong. I'm a sucker for learning. Raymotech Systems Consulting Steve Raymond

Back to Main MenuUp to Top of Page


Launched 2-13-98

Copyright © 1997/1998 Morgan Smith
All rights reserved. All Images,
downloads and text are ths sole
property of Morgan Smith and cannot be used
without written permission of the
this publisher.