Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

Re: [EP-tech] Style sheets in eprints

From: Christopher Gutteridge <cjg AT ecs.soton.ac.uk>
Date: Thu, 5 Jul 2001 14:14:36 +0100


Threading: [EP-tech] Style sheets in eprints from robert.kemp AT strath.ac.uk
      • This Message


I'd put the stylesheet in the 'static' dir then run 'generate_static' to
copy it accross into the 'html' dir.

Then make the URL of the stylesheet "/eprints.css" so that it always 
looks
in the basedir of the site and not the current dir.

Can you provide a live URL we can have a look at, if you still have problems.

eprints2 is being desgined to use stylesheets ALOT. I'm testing this with
netscape, mozilla & IE under Linux & Windows so it should look OK.

It would be possible to add some code to give the option of a different
style sheet for each browser/platform to optimise each but this would be
more for the admin to maintain. Comments?

All the <I> and <STRONG> should be replaced in ep2 with <SPAN 
class="whatever">

Hopefully I'll have a live demo server up soonish (end of July, *hopefully*). 

On Thu, Jul 05, 2001 at 01:10:06PM +0100, Bob Kemp wrote:
> Hi all,
> 
> I'm having a problem getting our nascent eprint archive here at 
Strathclyde 
> to recognise the CSS stylesheet I've set up. It works for the static pages 

> without any problem, but doesn't render successfully for the rest of the 
> site. The insertion of the link reference in the html in SiteInfo.pm seems 

> to be OK as this is successfully rendered in the html - the problem is 
> presumably in the location and url of the stylesheet.
> 
> If anyone out there has managed to use style sheets successfully, I'd be 
> interested to know exactly how, including what directory they put the 
> stylesheet(s) in, and whether they used a relative or absolute url in 
> SiteInfo.pm. And if I'm barking up the wrong tree altogether I'd be glad 
to 
> hear about that as well...
> 
> Thanks everyone,
> 
> Bob Kemp
> 
> Dr Bob Kemp
> Information Officer, Digital Information Office
> Centre for Digital Library Research
> University of Strathclyde, Glasgow G4 0NS
> 
> DIO website: http://dio.cdlr.strath.ac.uk/
> 
> Phone: +44 (0)141 548 2379              FAX: +44 (0)141 548 2102

-- 
Christopher Gutteridge -- cjg AT ecs.soton.ac.uk -- +44 (0)23 8059 4833
100,000 Syrian footmen, followed by 27,000 who are all crushed by a wall 
(I Kings 20:28, 29, 30) 

[index] [prev] [next] [options] [help]