|
Posted by Jukka K. Korpela on 01/14/07 08:22
Scripsit dfloss:
> For local html files, this works well.
For what? We can only see a poor solution, not the problem it was supposed
to solve.
> Unfortunately, it also breaks
> internal anchor links.
Of course it does.
> <base href="file:///C:/some_folder/" />
By definition, it sets the base URL of _all_ relative URLs in all
attributes.
> <a href="#SOME_ID_REFERENCE">blah</a> <-- doesn't work -->
By definition, it works the way it has been defined to work.
> Is it possible to make internal links ignore the <base href...>
> setting?
No, except by making them use absolute URLs (which isn't a good idea).
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|