P
Philip Poole
Hello everyone,
I hope you can help me, I have trawled the newgroups for an answer for this
and could not find one.
I have set up a template aspx page which consists of a number of user
controls, the template page contains a style sheet which all controls use.
However when I stick the template aspx into a subdirectory, it looses the
links to the style sheet.
Question 1) Apart from manually changing the link can I get ASP.net to find
the path autmotically, I have tried adding runat="server" to the LINK tag
but asp does not like it.
Next point: The css style sheet contains links to images, so even if i
change the relative path of the style sheet manually it cannot find the
images (as it is expecting to find them in a image directory within the
subfolder) .
Question 2) Is there any way to put relevtive paths in the style sheet so
that asp.net can change to the correct location, i..e "~/images/image.jpg".
Kind Regards
Philip
I hope you can help me, I have trawled the newgroups for an answer for this
and could not find one.
I have set up a template aspx page which consists of a number of user
controls, the template page contains a style sheet which all controls use.
However when I stick the template aspx into a subdirectory, it looses the
links to the style sheet.
Question 1) Apart from manually changing the link can I get ASP.net to find
the path autmotically, I have tried adding runat="server" to the LINK tag
but asp does not like it.
Next point: The css style sheet contains links to images, so even if i
change the relative path of the style sheet manually it cannot find the
images (as it is expecting to find them in a image directory within the
subfolder) .
Question 2) Is there any way to put relevtive paths in the style sheet so
that asp.net can change to the correct location, i..e "~/images/image.jpg".
Kind Regards
Philip