Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Absolute VS. Relative File Paths Re: Absolute VS. Relative File Paths

#123806
TheDoc
Member

`src=”/image.jpg”` == the root folder of the website

`src=”image.jpg”` == same folder as current page

`src=”../image.jpg”` == one folder up from current page

`src=”../../image.jpg”` == two folders up from current page, etc

In your first example, you could do two different things:

Or,