The <base> element, that's a thing. Also, make all URLs absolute.