Board index » Web Programming » Absolute links in href's

Absolute links in href's

Web Programming361
I'm trying to use an absolute link for certain elments, like images or css

file references, to a common spot on my site. I'm trying to code something

like:

...href="/mysite/images/foo.gif" where /mysite is the root of my site so

that all my pages, irrespective of where they occur in my site hierarchy use

that same reference.



In design mode, the hrefs never resolve correctly, however, they preview

fine and work in the browser ok.



Is there some switch so that I can work / see these elements in design mode?


-
 

Re:Absolute links in href's

No. FP can only manage relative URLs using ./ or ../



--

==============================================

Thomas A. Rowe (Microsoft MVP - FrontPage)

WEBMASTER Resources(tm)

www.ycoln-resources.com">www.ycoln-resources.com

FrontPage Resources, WebCircle, MS KB Quick Links, etc.

==============================================

To assist you in getting the best answers for FrontPage support see:

www.net-sites.com/sitebuilder/newsgroups.asp">www.net-sites.com/sitebuilder/newsgroups.asp



"ScottWagert" <ScottWagert@discussions.microsoft.com>wrote in message

Quote
I'm trying to use an absolute link for certain elments, like images or css

file references, to a common spot on my site. I'm trying to code something

like:

...href="/mysite/images/foo.gif" where /mysite is the root of my site so

that all my pages, irrespective of where they occur in my site hierarchy use

that same reference.



In design mode, the hrefs never resolve correctly, however, they preview

fine and work in the browser ok.



Is there some switch so that I can work / see these elements in design mode?





-