I wanna make universal header/footer include files.
Universal here means to be applicable in files on any directory level without need to add “../” at any deeper level when
You could have the url in the CSS be an absolute path (one that starts with /). Then it will work regardless of where on your site the user has browsed.
Alternatively, you could use URL rewriting mod_rewrite to make the URL the user visits stay in the top level.