Forum Moderators: open

Message Too Old, No Replies

using / instead of full domain name

         

musicales

1:22 pm on Dec 14, 2003 (gmt 0)

10+ Year Member



Am I right in thinking it's fine to use
<img src=/images/image.gif>

and the correct image file will be accessed from any page directory level - eg from root/page.htm AND root/first_level/second_level/page.htm

It seems to be working but just wanted to check.

dmorison

3:54 pm on Dec 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes - and that is also the best way to do it; as it means you can move your site to a different domain without having to recode.