[greenstone-users] Location of css style sheets for collection pages

From Lost Samoan (Corporate)
DateSat, 29 Jul 2006 10:41:46 +1000
Subject [greenstone-users] Location of css style sheets for collection pages



I have a collection of HTML pages that use a linked .css sheet.


I have placed the .css in the collection/mycollection/images folder and referenced the link within the HTML pages as relative to document like <link href="file:///C|/Program Files/Greenstone/collect/dictiona/images/dictionary.css" rel="stylesheet" type="text/css">.


If I open the HTML pages from within Greenstone's 'gather' page the styles are applied.  They are not applied when the pages are displayed through Greenstone.


Shaoqun kindly suggested <link href="/collect/dictiona/import/tm/English/dictionary.css" rel="stylesheet" type="text/css"> and this prevented the styles being applied in browser when loaded from gather page and still not be applied in Greenstone.


I have also tried <link  href="/" rel="stylesheet" type="text/css"> and this also stopped the style sheet being accessed in Greenstone and browser when launched from gather.


I have tried moving the .css to the folder the .html is store in, so <link href="/collect/dictiona/import/tm/English/dictionary.css" rel="stylesheet" type="text/css"> and then as <link href="dictionary.css" rel="stylesheet" type="text/css">


I still have no access to the style sheet from Greenstone.


Thoughts please anyone?  Someone must do this when I can’t seem to!


Thank you for your considerations.




Colin J. Murfett