February 27, 200917 yr Hi folks, I'm having a problem with my navigation menu. It works fine on my desktop but when I upload to the net the buttons disappear but I can still click them even thought I cant see them. Any one any idea why this is happening? Heres the live link: http://www.clonesroad1.com/test/index.html Ive attached how the buttons look when opened on my desk top. Thanks in advance Gar-e
February 27, 200917 yr Make sure they are in the correct directory. You specified the following: ../images/button.png ../ means go up one directory. So, if i was you, I'd upload the images folder to the 'test' directory and change the css to images/button.png
February 27, 200917 yr Hi, The reason why you can't see them is because it can't find these file locations....are they in the right place/have you uploaded them? These are what your site is 'trying to find' but can't. www.clonesroad1.com/test/favicon.ico www.clonesroad1.com/test/css/master.css www.clonesroad1.com/test/src/js/lib/yui-utilities.js www.clonesroad1.com/test/src/js/adapter/shadowbox-yui.js www.clonesroad1.com/test/src/js/shadowbox.js www.clonesroad1.com/test/css/../images/button.png
February 27, 200917 yr Author Hi, The reason why you can't see them is because it can't find these file locations....are they in the right place/have you uploaded them? These are what your site is 'trying to find' but can't. www.clonesroad1.com/test/favicon.ico www.clonesroad1.com/test/css/master.css www.clonesroad1.com/test/src/js/lib/yui-utilities.js www.clonesroad1.com/test/src/js/adapter/shadowbox-yui.js www.clonesroad1.com/test/src/js/shadowbox.js www.clonesroad1.com/test/css/../images/button.png Hi, I'm really lost - my css code has this: #nav ul { width: 100px; height:301px; position: absolute; top: 85px; left:337px; background: url(../images/button.png) no-repeat 0 0; list-style: none; margin: 0; padding: 0; But the sites trying to find the button.png at this location: www.clonesroad1.com/test/css/../images/button.png Why has it put /css/ when thats not whats in my code. And how am i still able to click on teh button when I cant see it?? Im lost!!
February 27, 200917 yr Author Hi All, I got it sorted. The button was spelt in CAPITALS!!!! not lower case . I am a fool!!! Thanks for the help!!
February 27, 200917 yr Aha - you may have worked this out already, but it sounds like you're developing on Windows but uploading to a Linux web host - the Linux filesystem is case-sensitive, Windows isn't. Tip: if you always make all filenames totally lower case, with no exceptions, you'll never run into this problem again.
March 2, 200917 yr Author Aha - you may have worked this out already, but it sounds like you're developing on Windows but uploading to a Linux web host - the Linux filesystem is case-sensitive, Windows isn't. Tip: if you always make all filenames totally lower case, with no exceptions, you'll never run into this problem again. Thanks for the tip, I always save in lower case but for this site I had problems with file sizes so a guy in the office took all the images into fireworks and reduced them down. The only only saved one in uppercase but it was the last thing i checked.
Create an account or sign in to comment