Ruth Posted October 14, 2009 Share Posted October 14, 2009 Ok guys this is going to be a stupid question but I forgot how to move through directories. I have a folder WWW for my html files and a folder for images. I'm trying to get my background image displayed through my css but I'm forgetting something. Here is what I have background-image: url(.../images/background.jpg); of course my background image is not showing up. what am I forgetting? Quote Link to comment Share on other sites More sharing options...
godwisam Posted October 15, 2009 Share Posted October 15, 2009 hello, can you please put the full path for an image and try it ?. for example (background-image: url(www/.../images/background.jpg) Thanks & Regards http://www.joomla-web-designer.com Joomla Custom Template Design, Hire PHP & MySql Programmer, Hire LAMP Programmer http://www.joomla-web-developer.com Joomla Web Redesign Services, Joomla CMS Development, Joomla Ecommerce Web Maintenance Solution Quote Link to comment Share on other sites More sharing options...
cags Posted October 15, 2009 Share Posted October 15, 2009 I believe the path needs to be relative to the css. So if you have a structure along the lines of... root -css --styles.css -images --background.jpg Then the relative path would be ../images/background.jpg. Or in plain English terms, up one directory the into images, background.jpg. Quote Link to comment Share on other sites More sharing options...
liamloveslearning Posted October 15, 2009 Share Posted October 15, 2009 I always thought to move up one directory you place ../ before your images folder? try removing 1 of the dots Quote Link to comment Share on other sites More sharing options...
haku Posted October 15, 2009 Share Posted October 15, 2009 This chick started 3 threads on the same topic. Someone already found the three dots in another thread (not that there was something wrong with you finding it here - the point is that she started three threds, and this is a good reason why not to). 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.