OK, on the bright side, I can get what I need to work to actually work.
On the less bright side - I'm confused:
The root of my application is
Then I have the folders
In the "/Images" folder I have a "keys.jpeg" file.
When I use
background-image: url(../Images/keys.jpeg); or
the file is displayed as the background, as I expect.
But when I use either of
background-image: url(/Images/keys.jpeg); or
I don't get the background image.
However, when I put a label on the page and use this code to check which path the url "~/Images/keys.jpeg" resolves to
Dim Path As String
Path = Me.ResolveUrl("~/Images/keys.jpeg")
Label1.Text = Path
the path returned is
So: "~/Images/keys.jpeg" doesn't work, even though it resolves to "/JobProfilingWebApp/Images/keys.jpeg", which, when set explicitly, actually does work?!?