Cool thing you can do with CSS

2000-06-21 15:36:31

It seems you can use external CSS with MHonarc and thereby enable huge
archives to be reformatted at any time by just changing a few lines of

You can have a special sheet for each archive, or you can have one
master sheet for every archive. For example to use a master sheet called
myStyle.css the folder structure could be as follows:


You then put the master style sheet in the "myArchives" folder and
reference from the child folders. You need to adjust settings for the
main index, the thread index and also the message page. For example to
set up the threads index, edit your "TIdxPgBegin" resource in your
resource file with the following:

<LINK REL="STYLESHEET" HREF="../myArchives/myStyle.css" TYPE="text/css">

Do the same for the *PgBegin resources for the main index and message
page. You can then design your style sheet, shave it as myStyle.css and
put it in the myArchives folder.

If you then decide six months later you want to change the background
color and font of every message in every archive, just change a few
lines of text in myStyle.css

Gerry Hickman (London UK)

<Prev in Thread] Current Thread [Next in Thread>