From: Bruce W. <br...@mi...> - 2001-03-25 00:13:54
|
> I just bought an epods and was working to code up special web > pages that are > formatted for the smaller screen (640x480). I have been using the > html_style_xxx parms to specify the formatting for my mh web > pages, but ran > into a problem. How can I specify a different style sheet for > different sets of web pages? Looks like there are two changes you need to do to make to enable picking up local style sheets. First, change the mh.ini html_style parms to be relative links, rather than rooted to the root directory. For example, change from this: html_style =<LINK REL="STYLESHEET" HREF="/default.css" TYPE="text/css"> to this: html_style =<LINK REL="STYLESHEET" HREF="default.css" TYPE="text/css"> The second changes is to do the same think with the urls you code up. So for example, if you had this: <a href=/list:last_response?Group>Show all groups</a> Change it to this: <a href=list:last_response?Group>Show all groups</a> I put this example in mh/web/test/test1.html and it and it picked up mh/web/test/default.css. Let us know how it goes. I think there are a few other epoded people out there, so maybe we can setup an example epod web page in the next mh distro. Bruce |