By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,244 Members | 1,339 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,244 IT Pros & Developers. It's quick & easy.

base href question

P: n/a
I have a template driven site, the template is full of images and links.

At some point (during a secure order) the user is redirected to a secure
server (different domain) using the same template.

Now, I want the links to point back to the old insecure domain. I could
use a base href to do that (links are all / relative, ie: /info.html) but
then the images (also root referenced) would be drawn from the insecure
domain and there might be a security warning.

Is there a way to use base href over just part of the page?

Is there another way out, or do I have to write full paths?

Jeff
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Jeff Thies" <no****@nospam.net> wrote:
Is there a way to use base href over just part of the page?
No. The base element is allowed in the head part only, so it inevitably
applies to the entire page, and only one base element is allowed.
Is there another way out,
Not in HTML.
or do I have to write full paths?


Maybe you could use a preprocessor, but that's external to HTML.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.