|
|
Website Layout Scheme
One of the annoyances of web design is how to make it easy to
create a large number of pages that look similar, yet be able
to manage their layout and look and feel, especially in the light
of being able to accomodate as large changes as possible.
Some changes you want to be able to accomodate is to move the navigation
from the top to the left, or right, or bottom, etcetera.
What I finally settled on is to write every page as a 3x3 matrix,
implemented as a table of three rows of three cells.
The rows are named top, middle and bottom and the columns are named
left, middle and right. Each cell is named by concatenating the
row and the column name. Each row is assigned a style with the name of the row,
and each cell is assigned a style with the name of the cell.
All cells but middlemiddle have a server-side include to an include
file of the cell name.
It now is very easy to move constant layout elements about, by
changing the width and height of a row or cell in the stylesheet,
where they are defined in pixels, and by moving content about the
includes. Note that you can remove any row or cell, by setting
the width and height to zero pixels and clearing the content of
the include.
To make the page easier to code, all the table, row and cell HTML tags,
and the server-side includes are put into two include files, one containing
all code before the content of the middle cell, the other containing all
the code after the content of the cell.
The first one is included before the page content, after the HEAD tags,
the other one is included after the page content.
|
I attended a bullwhip handling seminar given by Gery L. Deer in Ann Arbor, organised by a friend of mine who had seen Gery perform at a local Science Fiction convention. Since I have practiced diligently and acquired two more whips: it is boatloads of fun!
I have been running my new game settings, based on my serial campaign concept,
as well as have complete websites: ShadowWorld Mainline, ShadowWorld WWII and Grand Design.
I am working on a new current day ShadowWorld setting, with a new, entirely different cosmology.
More ...
Underworld, though laying claim to prior use,
was renamed to ShadowWorld in the summer of 2002,
to avoid confusion with earlier published role playing games with same or similar names.
It was moved to its own website.
|