otuatail Posted March 18, 2009 Share Posted March 18, 2009 Hi I have 2 identical websites but one has a missing side image. The images definatly exsist and in the same location (folder) This has a side image http://www.des-otoole.co.uk/hc/holidayClubInfo.php This does not http://www.des-otoole.co.uk/hol/holidayClubInfo.php Can't work this out. Desmond. Quote Link to comment Share on other sites More sharing options...
otuatail Posted March 18, 2009 Author Share Posted March 18, 2009 Fixed this but don't understand Whats the diffrence background-image: url(../images/HolidaySide3.jpg); background-image: url(images/HolidaySide3.jpg); The second one has worked. As the images are in the next level up, no need for ../ ??? Desmond. Quote Link to comment Share on other sites More sharing options...
Hartley Posted March 18, 2009 Share Posted March 18, 2009 You don't necessarily need the "-image" option on there. The browsers will interpret "background:" just the same. Small code change, but could fix the bug. Quote Link to comment Share on other sites More sharing options...
jcombs_31 Posted March 18, 2009 Share Posted March 18, 2009 Fixed this but don't understand Whats the diffrence background-image: url(../images/HolidaySide3.jpg); background-image: url(images/HolidaySide3.jpg); The second one has worked. As the images are in the next level up, no need for ../ ??? Desmond. What do you mean what is the difference? The difference is a different path to the images directory. Only 1 path can be correct. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.