On Tuesday 12 August 2003 10:24, Nick Murtagh wrote:
> deelan wrote:
> > however there's an unwanted side-effect, in my generated
> > page i have some relative URL, e.g. a couple of CSS files,
> > included in the HTML code with:
> >
> > <style type="text/css">@import url("styles/weblog.css");</style>
> >
> > the problem is that webware searches for such CSS files
> > under the /param1/param2/ folders (of course both are
> > fictional):
> >
> > /WK/weblog/index/param1/param2/styles/print.css
> >
> > obviously the CSS are not imported and then the page
> > looks unstyled.

I've solved this kind of problem with the html header directive:
<base href="http://my.base.path";>

Of course, you can't use relative urls then in your application (if this is a 
problem at all)

stephan



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to