Instructions for people maintaining Tuorla Observatory web pages

Try to keep everything simple, well organised and fully validated!

This means both the pages themselves and the files and folders on the web server. Create new files and folders on the root level only if it is of utter importance. Place images on img subfolders. And please, use English instead of American, because Finland is a member state of the European Union and proper English is an official EU language.

When creating a new page:

1) Copy the first 12 non-blank lines of any existing file (14 lines altogether) to the beginning of the new file. The last line is for a div for content-area.

2) Copy the last 4 non-blank lines of any existing file (5 lines altogether) to the end of the new file. These are two end tags for divs, end tag for body and end tag for html.

3) Whatever you put on the page, put it between the lines copied in instructions 1 and 2 above.

4) Use the following tags to format the contents (see further down).

5) Please, do not change contents of files MENU.shtml, menu.css and content.css unless you a) REALLY, REALLY know what you are doing, and b) understand that the changes WILL alter each and every page on the Tuorla Observatory web site and any addition MAY alter the pages.

6) Always remember to validate the page both for XHTML and for CSS (in that order) when you think you have finished.

7) To conclude, add the date and time to the bottom of the page and update the English and Finnish sitemaps.

OR) Instead of steps 1 and 2 above, you can copy (copy first, then edit) any existing file with a new name or copy an empty file with header and footer in place from folder /internal (one with TEMPLATE in the name).

When changing or updating an existing page:

1) Be careful not to introduce any effects not compatible with most common browsers (IE, Firefox, Opera).

2) Use the following tags to format the contents (see further down).

3) Please, do not change contents of files MENU.shtml, menu.css and content.css unless you a) REALLY, REALLY know what you are doing, and b) understand that the changes WILL alter each and every page on the Tuorla Observatory web site and additions MAY alter the pages.

4) Always remember to validate the page both for XHTML and for CSS (in that order) when you think you have finished.

5) To conclude, update the date and time at the bottom of the page. Update also the name as somebody else making changes may need to know what you meant by the web structures you have used.

Please, see further instructions on updating the pages.

The pre-formatted tags for your convenience:

Use these in the given format. Remember always in XHTML to end each and every tag with a / character (e.g. <p>...</p>, <h1>...</h1>, <br /> or <img src=... />. Special characters have been used below to make formatting tags visible on this page.

Drawing of Tuorla Observatory

The image here was placed with line
<img class="right" src="/img/tuorladrw.gif" alt="Drawing of Tuorla Observatory" />

To add an image to the left edge of the content div would look like this
<img src="/img/tuorladrw.gif" alt="Drawing of Tuorla Observatory" />

<h1>Header type 1 (large)</h1>

<h2>Header type 2 (medium)</h2>

<h3>Header type 3 (small)</h3>

<h4>Header type 4 (smaller)</h4>


<p class="large">Large text.</p>

<p>Normal text.</p>

<p class="small">Small text.</p>

<p class="smaller">Smaller text.</p>

<p class="announcement">Announcement text (e.g. for home page seminars).</p>

An example link pointing to this instruction page: <a href="instructions.shtml"></a>.


<p class="author">22/04/2006 00:57 Rami T. F. Rekola</p>

22/04/2006 01:08 Rami T. F. Rekola

This page was last modified by Rami Rekola  on  14/08/2006 12:42  astroweb@utu.fi