While reading ASP.NET 2.0 Unleashed by Stephen Walther, I found out a nice trick about relative paths in Master Pages. If you are using Relative Paths and you are using ASP.NET controls in your master pages, then the paths are relative to the Master Page