M
Mark Simon
I like to use the <base> tag in, say, the contents frame of a frameset.
The idea is that the target attribute will direct all of the links into
another frame.
The base tag technically has a required href attribute, which should be
an absolute reference. I have no use for this href attribute, and it
tends to cause the relative links on the page not to work properly.
However, without it, the page won't validate properly.
Is there a valid href value I can use which will allow other relative
links on the page to work?
Below is an example:
<html>
<head>
...
<base href="?" target="mainFrame" />
</head>
<body>
...
<a href="otherpage.html">Other Page</a>
...
</body>
</html>
The only "correct" solutions I can think of are either to simply put
targets into all of my links, or to use absolute addresses ... ?
Thanks,
Mark
The idea is that the target attribute will direct all of the links into
another frame.
The base tag technically has a required href attribute, which should be
an absolute reference. I have no use for this href attribute, and it
tends to cause the relative links on the page not to work properly.
However, without it, the page won't validate properly.
Is there a valid href value I can use which will allow other relative
links on the page to work?
Below is an example:
<html>
<head>
...
<base href="?" target="mainFrame" />
</head>
<body>
...
<a href="otherpage.html">Other Page</a>
...
</body>
</html>
The only "correct" solutions I can think of are either to simply put
targets into all of my links, or to use absolute addresses ... ?
Thanks,
Mark