On 4/23/07, Brian Suda <[EMAIL PROTECTED]> wrote:
you can have the best of both worlds. In each <a href=""> just use
"/radio4". This makes the link relative. But then you can also add a
<base href="http://bbc.co.uk/";> when this is in your HTML it will make
all the hrefs absolute (or it should for any decent parser).

The advantage of using the <base> element is that you can easily
switch it to something like <base href="http://my-dev-site.bcc.co.uk";>
and you don't have to rewrite all the hrefs within the HTML.

With the slight downside that it makes your code a little more
brittle, as you have to make sure the URI shown in BASE is the right
thing!

Regards, etc...

--
David Janes
Founder, BlogMatrix
http://www.blogmatrix.com
http://blogmatrix.blogmatrix.com
_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to