Posted on: 4/22/2011 9:49:30 AM | Views : 281

hi,

I built a new DNN module, all pages need to CSS file and some images, the issue is with relative path when I load the css files or the images.
the css file exist on /Resources/Shared/stylesheets/x.css
and the module page exist on /DesktopModules/MyModule/Controls/Add.ascx
and I used
<link rel="stylesheet" href="/dnn/Resources/Shared/stylesheets/x.css" type="text/css" />

I should add the server name manually ( /dnn/ ) to work please I need to add it as relative path, I tried  ~ but it is not worked !

thanks in advance,
Saed
...

Go to the complete details ...