You silly monkey! It's two dots!
Seriously, though, I've never seen the point of relative URLs. They're VERY fragile. An absolute URL, drawn from DocumentRoot, will survive no matter what directory you might someday choose to put that file into. Why is it better to say "../file.html" than to say "/folder1/file.html"? In once case, you're codifying the location of the target, in the other, you're codifying the location of the source AND the target. I'm always going to opt for the more flexible option.
|