Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Shaun Chrisp
Shaun Chrisp
1,575 Points

Hi Guys, background image not working on Explorer but will in Google Chrome? the website is www.ramagewindows.co.uk

Hi Guys, I have designed a website using a snippet of code from codepen. The issue is the background image not working on Explorer but will in Google Chrome? the website is www.ramagewindows.com

Any ideas, i'm really stuck so any advice would be amazing.

thanks

Shaun

1 Answer

In your hero1 class you are calling the image this way: background:url(http://www.ramagewindows.com/img/background.png); - if the image is hosted in the same server as the calling page it would be safer to call it using a relative path, I would suggesting using something like: background-image: url('/img/background.png');

By the way, my IE is pulling up the image just fine.

Shaun Chrisp
Shaun Chrisp
1,575 Points

amazing Pedro, thankyou so much. i think the client just has a slow internet connection and it image file is so large.

again, thank you for taking the time to reply.

Shaun Chrisp I think your hunch about the image size may be correct it took a second to load on my machine as well using Safari.