Re: A [related] <BASE> question

Kee Hinckley (nazgul@wraith.utopia.com)
Tue, 18 Oct 94 16:31:53 -0400


This message may contain additional data that cannot be displayed
because your mail system does not understand MIME. See your system
administrator for assistance.
--Intermail Mail Boundary #1=_
Content-Type: Text/Plain

> > Could anybody please explain to me briefly and like
> > I don't know anything about HTML in what way the <BASE> element works?
>
> As I understand it the <base> element is used to specify the URL of the
> document it occurs in. This allows it's "real" location to be found when
> the document is read out of context. Any partial URLs are read within
> the document are read relative to this URL.

I have been using it (with mixed success) in CGI scripts which need
to reference files (usually inline images) in the context from which
they were referenced. That means that they get passed a URL which
they use as their <base>.

I say with mixed success because some viewers (NCSA PC viewers and
I think MacWeb) don't seem to work properly with this. It also
means that if you do a reload you don't get what you expect.

Does anyone have any other thoughts on dealing with this kind of
problem?

--Intermail Mail Boundary #1=_
Content-Type: Text/Plain;
Signature=true

Kee Hinckley 617/721-4671
nazgul@utopia.com http://www.utopia.com/

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

--Intermail Mail Boundary #1=_--