K
Kent P. Iler
Hi,
I am trying to reference images from an images directory immediately off the
root level. The problem is that on my dev machine, the url is
<machine>/hbmlocal/images, and on the production server, the url is
<machine>/images
I've tried using the "~" operator along with runat="server", and that works
most of the time. However, I have a situation in a user control where the
"~" isn't working. Here is the line:
td runat="server" rowspan="4" width="100%"
style="BACKGROUND-IMAGE:~/Images/drill_left.gif; BACKGROUND-REPEAT:
repeat-x"
I'm including this user control from multiple files at different directory
levels, so I can't just use "../..", etc.
Any suggestions?
Thanks.
-- Kent Iler
I am trying to reference images from an images directory immediately off the
root level. The problem is that on my dev machine, the url is
<machine>/hbmlocal/images, and on the production server, the url is
<machine>/images
I've tried using the "~" operator along with runat="server", and that works
most of the time. However, I have a situation in a user control where the
"~" isn't working. Here is the line:
td runat="server" rowspan="4" width="100%"
style="BACKGROUND-IMAGE:~/Images/drill_left.gif; BACKGROUND-REPEAT:
repeat-x"
I'm including this user control from multiple files at different directory
levels, so I can't just use "../..", etc.
Any suggestions?
Thanks.
-- Kent Iler