[6221] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: A [related] question

daemon@ATHENA.MIT.EDU (Kee Hinckley)
Tue Oct 18 19:28:26 1994

Date: Wed, 19 Oct 1994 00:26:52 +0100
Errors-To: postmaster@www0.cern.ch
Errors-To: postmaster@www0.cern.ch
Reply-To: nazgul@wraith.utopia.com
From: Kee Hinckley <nazgul@wraith.utopia.com>
To: Multiple recipients of list <www-talk@www0.cern.ch>

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=_--

home help back first fref pref prev next nref lref last post