theniteowl
Programmer
Hi All,
I have a problem with a site I created for a local school.
This line:
works in IE but not in Firefox.
Before this page loads I issue this command from PHP:
I do this because the template for the page loads from the root and then it does an include to insert the content section into the proper area of the page. The base tag sets the base href to the folder the content page resides in so all paths would work relative to that folder.
This works fine in IE and in Firefox the paths all work correctly for loading the pages but not for loading the images that are in the images folder off the root.
Any thoughts on why this would happen? Is ../ not compatible with Firefox in some way or just regarding images rather than hrefs?
At my age I still learn something new every day, but I forget two others.
I have a problem with a site I created for a local school.
This line:
Code:
<td width="770" height="6" background="../images/contenttop.gif" colspan="3"></td>
Before this page loads I issue this command from PHP:
Code:
echo '<base href = "'.$mydomain.$folderpath.'/'.'">';
This works fine in IE and in Firefox the paths all work correctly for loading the pages but not for loading the images that are in the images folder off the root.
Any thoughts on why this would happen? Is ../ not compatible with Firefox in some way or just regarding images rather than hrefs?
At my age I still learn something new every day, but I forget two others.