css background image

Asked by:
John / 49 Points
Time:
2012-12-20 8:06 pm EST
Category:
Website Troubleshooting
Hits:
745
Hello.
I'm using an internal style sheet for my page and I can't get the background and 3 other images to display. I don't have the Hotlink Protection enabled and the images are in the same folder as the html. The image will display if I just type in that path in the browser.
I think maybe I'm just messing up the path syntax? but I've tried a bunch of different things. Single quotes, double quotes, no quotes, full url, ../, ../../
Anyone have any ideas?
Here is the link:
http://brokenicon.com/IST535/thedwt.html
And it's ripped out of a dreamweaver template so I don't know if there are any differences in syntax from that, but like I said I've played around with every permutation of the url syntax that I can think of.
Thanks.

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

arnelc
Staff
13,722 Points
2012-12-20 8:35 pm EST
Hello Proxette,

Happily, this will be an easy fix. Take ONE dot out of your paths to your images and you'll see them work. The dots in the path basically take you back one or two levels within the directory structure. In this case you only need one. So, change that in that in your code and you'll see it work. I tested here by viewing source and applying the changes (done virtually in the browser) and seeing the images appear. Testing in the browser doesn't actually change the code. You'll need to do that by editing the page file.

If you have any further questions, please contact technical support or leave a comment at the bottom of the page.

Happy Holidays!

Arnel C.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.