Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.