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.


flexible div background images?

Still mad at: http://emendationslist.com/rsllab/lab.html - but this is much more of a mind-bender for me.

now the issue is that the background image won't cover the entire div 9the three different color ones in a row) -- the images ARE larger than the max size of the div. YET - the orange (first) and blue (last) don;t work in IE - they work just fine in firefox and in chrome. the have to also work in IE

i have tried background-size: contain; and background-size: cover; -- neither work.

What i want is for the background image to flex with the div. if it won't - i'll do the whole thing with CSS (usually preferable) but in this case i was trying to avoid it.

1 Answer

A wonderful treehouser found the fix for me! http://msdn.microsoft.com/en-us/library/ie/jj127316(v=vs.85).aspx