Re-post : Applying stylesheet to Form

Hi,

I have a web Form that refers to a stylesheet (i’m using the old way of HTML in the Head of the document, referring to a Page with a .css extension. It works and it suits me!

When I access a Hotspot Link to create a new doc using this form it applies my stylesheet. However, when I access an existing document through a web View it finds the Form but not the stylesheet.

Also, i’m using IE6.

Any ideas appreciated !

Subject: Re-post : Applying stylesheet to Form.

One good idea could be to search this forum (and 4&5 forum as well) Another: and obvious cause would be – you are incorrectly using relative url. Say if you refer to stylesheet like this:

It will work for new doc (the url for new doc is …/db.nsf/somefrom?OpenForm so mystyle.css will be relative to db.nsf) but not for the document retrieved from the view (the url …db.nsf/someview/somedocumentuniversalid?Opendocument and browser will look for your stylesheet in db.nsf/someview/mystyle.css)