Consultor Eletrônico



Kbase P12264: How to run style sheets from within Webspeed
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/03/2003
Status: Unverified

GOAL:

How to run style sheets from within Webspeed

FACT(s) (Environment):

Webspeed 3.1x

CAUSE:

When the web browser accesses a WebSpeed url, example:
http://localhost/scripts/cgiip.exe/WService=wsbroker1/test.htm, the web browser will also try to access all the files using a relative reference through WebSpeed, that is, the web browser will try to access the style sheets via the
WebSpeed broker, i.e:
http://localhost/scripts/cgiip.exe/WService=wsbroker1/class-def.css.
Since WebSpeed does not run .css files, it will not work.

FIX:

The solution is to have the .css files in a directory of the web server, i.e:
/css/class-def.css and then you will have an absolute reference, which the web browser will use http://host/css/class-def.css.