Basic HTML question
- Started
- Last post
- 4 Responses
- voiceof
This may be simple but can't for the life of me figure it out.
Assume you want to get to the following:
http:// w w w.yoursite.com/folder/file.h t m lthought a link in the body (or anywhere) and you only want to put "/folder/file.html" in the link. How do you get the "http://w w w/yoursite.com" to fill in automatically.
I tried using a base href but ran into a few issues and it still required me to add the full url or use ../ for pulling in includes and js.
All help is appreciated
- powertoni0
base href is how you do that....could you be more specific?
if you are using php you could set a $dirDepth ='../'; and concatenate with that....
- voiceof0
I do they have an asp equivalent to that php. I know very little in the ways of programming but I could hack around a little and figure it out.
- heavyt0
dim dirDepth
dirDepth = '../'