[ZPT] StyleSheets

Sam Collett Sam.Collett@gp-b81091.trent.nhs.uk
Mon, 17 Dec 2001 11:10:57 -0000


How can I get the following to work:

<link rel="stylesheet"
        tal:attributes="src string:${here/absolute_url}/css/default.css"
        type="text/css">

The output is:

<link rel="stylesheet" type="text/css"
        src="http://localhost/Test/css/default.css">

However it does not seem to render the page correctly.

When I hard code:

<link rel="stylesheet" type="text/css" src="/Test/css/default.css">

it works.

I want to know this because the folder Test may change names.

TIA