Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

"/images" root directory access linking

$
0
0

Occasionally I make a simple holding site on a project using just html that contains /css and /images folders in the root directory.  The css file located at "/css/style.css" will refer to images using "/images/myImg.jpg" for example.  This works fine on the web server at the address http://myserver/.  For development purposes, is it possible to configure the project to treat "/" as "~/" or and equivalent project root?

This has just quirked my interest and I've be very grateful for any pointers.  Thanks for your time!


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>