J
John Dalberg
I created a header file to be included in every webpage. The header file
has images that have a path to an "images" folder off the root folder.
However if I use this header file for web pages that reside in subfolders,
I have to change the path of all the image links to '../images/' instead of
'images/'.
What's the best way to have a single header file which *any* web page,
regardless of its location, can use without modifying it to suit certain
webpages depending on their location?
has images that have a path to an "images" folder off the root folder.
However if I use this header file for web pages that reside in subfolders,
I have to change the path of all the image links to '../images/' instead of
'images/'.
What's the best way to have a single header file which *any* web page,
regardless of its location, can use without modifying it to suit certain
webpages depending on their location?