|
Posted by dorayme on 10/11/92 11:43
In article
<1143512084.283720.316830@v46g2000cwv.googlegroups.com>,
"Dan" <dan@tobias.name> wrote:
> dorayme wrote:
> > When you type in your links, to use the examples you gave,
> >
> > src="http://home.att.net/~novice/beginner/homepage/me/pic1.jpg"
> > src="http://home.att.net/~novice/beginner/homepage/me/pic2.jpg"
> >
> > type instead:
> >
> > src="/pic1.jpg"
> > src="/pic2.jpg"
> >
> > and then search "/pic" and replace all with
> > "http://home.att.net/~novice/beginner/homepage/me/pic"
>
> That isn't going to work. With the leading slash in the "src"
> references, they will be relative to the root of the given hostname, at
> http://home.att.net/pic1.jpg, etc., which isn't what the original
> poster wanted. The correct values are:
>
> base href="http://home.att.net/~novice/beginner/homepage/me/"
>
> img src="pic1.jpg", etc.
Perhaps I have misunderstood him or you? I was assuming other
posts (like Andy Dingly's) were right and it could not quite be
done as OP imagined. I was giving a method to write up the files
without having to type and copy paste every link as he builds the
site. I still do not understand why it would not work from your
remarks - perhaps you are misunderstanding me? Surely he ends up
with all the absolute url references in his final code and they
will be fine (not elegant, true!).
--
dorayme
Navigation:
[Reply to this message]
|