|
-
Jul 9th, 2012, 11:30 AM
#1
Thread Starter
Lively Member
href base url
You got a site:
http://www.mysite.com/test/
theres a index.html in there.
In the HTML source of the index.html file there a HREF link:
Href="/images/site.ico"
now will it ALWAYS be true that the actual full path of the ico file is:
http://www.mysite.com/images/site.ico
Or Could it or WOuld it always be:
http://www.mysite.com/test/images/site.ico
-
Jul 9th, 2012, 11:45 AM
#2
Re: href base url
depends... if the href base has been set to the site (www.mysite.com/test) then the second will be true... otherwise the first will be true. Now if you drop the leading / from the href, then the second would be true.
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|