I added a stylesheet link, but my CSS isn't working. Why not?
<link rel="stylesheet" type="text/css" href="blosxom.css" />
A stylesheet link like that won't work with Blosxom for two related but different reasons.
First, it's using a relative URL for the stylesheet, but what that means will vary depending on how the page is accessed. http://molelog.molehill.org/blox/, http://molelog.molehill.org/blox/Computers/Internet/Web/Blosxom/FAQ and http://molelog.molehill.org/blox/2003/04/29/, for instance, will lead to three different meanings for what "blosxom.css" means (it's slightly worse than that, actually! http://molelog.molehill.org/blox/2003/04/29 leads to a fourth meaning for "blosxom.css").
So, you need to specify a full path for your stylesheet. But what full path? That leads to problem #2.
Blosxom serves up blog pages only; it doesn't serve up individual files. If you specified "$url/blosxom.css", Blosxom would go looking for the "blosxom.txt" story and the "css" flavour. Your stylesheet (as well as other related files, such as images) need to be put in a directory where the webserver can get to them directly, not via Blosxom, and you need to give a full path for that.
For instance, I use:
<link rel="stylesheet"
type="text/css"
href="/blog/flavours/$flavour/molelog.css"
title="Default">
2003-04-29 14:04:00 | Comments (1) | TrackBack (0) | Computers::Internet::Web::Blosxom::FAQ::BasicSetup
Jan Alonzo
.. or you can put your CSS out of $blosxom::default_dir like /css/molelog.css in that way you can also use relative URLs.
2003-05-01 06:27:00