Results 1 to 2 of 2

Thread: href base url

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    113

    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

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width