Since we have no idea what code you're running and/or web server URL-rewriting is in effect, it will be pretty difficult for us to debug that. In any case, I don't see the problem you're describing, so maybe you already fixed it?
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
I'd recommend that you start by fixing all the HTML validation errors, then see if you get uniform results among different browsers.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Well using the <a href="/contact.php".. cetainly worked.. the only problem not is the about page having a / after the URL, So its not picking up the images.
Well using the <a href="/contact.php".. cetainly worked.. the only problem not is the about page having a / after the URL, So its not picking up the images.
You can also use absolute paths for images/scripts/stylesheets as well. That should help if you ever serve pages off the root of the webserver.
Originally Posted by PJ's Media
And just my magic, for no reason at all it decides to work!
Thanks for that guys!
It is possible you were using cached content with the error. When in doubt clear your cache and check the source code.
What I was going to recommend trying is putting http://www.pjsmedia.co.uk/ in front of every URL in your code. If there are still problems then maybe look in your .htaccess file and see if there's anything in there? I don't know much about them but I know they can mess with your URLs.
Last edited by evenstar7139; 08-18-2012 at 02:34 PM.
The better I get at programming, the more I appreciate arrays. Handy dandy things they are.
Bookmarks