title: How do I create root-relative links in a static site?
body: <p>When building a static HTML site, you can set the base url like so <code>&lt;base url="http://localhost:8888/mysite" /&gt;</code>. Supposedly when you insert, say, an image, you can do so from that base url like so <code>&lt;img src="/img/logo.png" /&gt;</code>, which is equivalent to <code>&lt;img src="http://localhost:8888/mysite/img/logo.png" /&gt;</code></p>
  
  <p>My problem is that these relative links don't work when I move the site around, which is a pain because I'm trying to share it with someone on Dropbox. I thought I could just chage the base url to <code>&lt;base url="http://dl.dropbox.com/u/xxxxxxxx/mysite" /&gt;</code>, but the image links are looking here: <code>&lt;img src="http://dl.dropbox.com/img/logo.png" /&gt;</code> instead of the full base URL I set in the head.</p>
  
  <p>Why is this?</p>