Jump to content

background image


Ruth

Recommended Posts

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?

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.