ralph33 Posted September 7, 2010 Report Posted September 7, 2010 Hi, I am working in Web Design 1 lesson 10.Which is about makeing pages. When I open the web page with internet explorer all the pages come up individually and look ok. When I try to move from page to page I get an error message for the browser saying it cannot display the page. I think I put the correct link info in the code page. This is what I have in the code: index page: <div id="navigation"> <ul> <li>Home</li> <li><a href="productList.html">Products</a></li> <li><a href="css.html">CSS</a></li> <li><a href="tables_tutorial.html">Tables Tutorial</a></li> </ul> </div> TablesTutorial Page: <div id="navigation"> <ul> <li><a href="index.html">Home</a></li> <li><a href="productList.html">Products</a></li> <li><a href="css.html">CSS</a></li> <li><a href="tables_tutorial.html">Tables Tutorial</a></li> </ul> </div> ProductList Page: <div id="navigation"> <ul> <li><a href="index.html">Home</a></li> <li><a href="productList.html">Products</a></li> <li><a href="css.html">CSS</a></li> <li><a href="tables_tutorial.html">Tables Tutorial</a></li> </ul> </div> I can't see a mistake. I am new at this and it is probably something simple. Can anyone help? Thanks Ralph
Wickham Posted September 7, 2010 Report Posted September 7, 2010 Check that all the pages are in the same folder. Check that the lower case and upper case is the same in the filename as in the link. For instance ProductList.html is not the same as productList.html
ralph33 Posted September 8, 2010 Author Report Posted September 8, 2010 Check that all the pages are in the same folder. Check that the lower case and upper case is the same in the filename as in the link. For instance ProductList.html is not the same as productList.html Hi Wickham: Thanks for the info. I did indeed have some problems as you mentioned and corrected them. Still have the same problem. When I try to switch pages it indicates that it has switched but the browser still says it cannot display it. I even copied the example from the course files and have the same problem with that. I am sure the code is correct there. Possibly there is something that the browser needs to make it work. Ralph
newseed Posted September 8, 2010 Report Posted September 8, 2010 Sometimes it can be as simple as a quote not being present. I suggest you run it through a validator and might as well provide the entire code (including the doctype, head area, etc). Also be sure to double check your file extensions (.html) and not (.htm) or vice versa.
falkencreative Posted September 8, 2010 Report Posted September 8, 2010 You may also want to check that your files aren't accidentally named like this: file.html.txt. If you are using Windows, Windows sometimes hides the file extension by default. Take a look here for more info/instructions: http://www.killersites.com/community/index.php?/topic/3010-cant-open-my-website/page__gopid__16509entry16509
ralph33 Posted September 8, 2010 Author Report Posted September 8, 2010 You may also want to check that your files aren't accidentally named like this: file.html.txt. If you are using Windows, Windows sometimes hides the file extension by default. Take a look here for more info/instructions: http://www.killersites.com/community/index.php?/topic/3010-cant-open-my-website/page__gopid__16509entry16509 That was the problem.I can now switch pages ok. The box you mentioned was indeed checked. When I looked first, the ext were such as index.html.html. After I unchecked all was ok. I suspected it was a windows problem. Actually having problems like this is a good thing in that it forces me to dig into it. Thanks very much for your help. I can now carry on with my lessons. Ralph
falkencreative Posted September 8, 2010 Report Posted September 8, 2010 Perfect, glad you got it fixed. That's a common problem -- I wish Windows didn't hide file extensions by default.
ralph33 Posted September 8, 2010 Author Report Posted September 8, 2010 Check that all the pages are in the same folder. Check that the lower case and upper case is the same in the filename as in the link. For instance ProductList.html is not the same as productList.html Hi again: Fixed my problem.It was a setting in wondows. Refer to http://www.killersit...509 Thanks for your help. Ralph
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now