Re: [greenstone-users] formatting in Greenstone 2.63

From John R. McPherson
DateWed, 1 Mar 2006 15:30:23 +1300
Subject Re: [greenstone-users] formatting in Greenstone 2.63
In-Reply-To (4404C135-3080205-stfx-ca)
On Tue, Feb 28, 2006 at 01:31:33PM -0800, Gordon Bertrand wrote:
> Hello all,
> We've recently upgraded to 2.63 (an unstable version I realize) and I
> have a question regarding the new CSS-based formatting.

> The display in Netscape/Mozilla/Firefox is very poor so we
> decided to apply the macro. We therefore applied the macro and copied
> over the necessary image files and now the text images do appear, but
> the formatting is still very poor. The only browser in which the display
> looks acceptable is Internet Explorer.

Hi again,
if I open the javascript console in firefox, it tells me that the style
sheet was not loaded because the web server served it with a content type
of "text/plain" instead of "text/css". I presume that Internet Explorer
does its usual trick and ignores the content-type given by the webserver,
which is why the formatting works in IE and not mozilla. If you are
using a full-fledged web server such as apache or IIS, make sure it's
configured to send the correct content type. If you're using the
greenstone web library on windows, then it's a bug in our server software
that needs to be fixed.

If that isn't the cause of the formatting problems, please contact me
again off-list and I'll investigate further.