Actually that's the wrong way around
root relative has a leading slash "/"
document relative will use the "../" syntax.
The best way is to use root relative
always. then all references to folders, files & images will be consistent throughout the site.
Using document relative for images in a root level "/images/" folder will have to use an extra ../ for each sub folder the document is below the root.
as an example;
images/pic.jpg
from root = src="images/pic.jpg"
from a subfolder /aboutus/ = src="../images/pic.jpg"
from a subfolder of "/aboutus/contact/" = src="../../images/pic.jpg"
for root relative all references would be src="/images/pic.jpg " no matter where the documents where.
The value of this becomes more important if and when you move on to programming, so scripted solutions do not have to work out where a document is going to be located when you are coding links and image references.
Chris.
Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems
So long, and thanks for all the fish.