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

CSS

Fixing overflow for IE

On one of our University's internal sites, we have a module for creating coursework, with a window that pops up, like this.

Originally, the text would run out of that window. I corrected it by applying the following styles:

span { white-space: initial; }

This seems to work in Chrome and FireFox, but the text still overflows in IE.

For IE, I've tried overflow and word-wrap, but I haven't had any success.

Any suggestions on what I might add to get it to work in IE?

Thanks!

1 Answer

Hi William,

Have you got to the bottom of this ?

If not is there any way you can set up a Workspace or Codepen with the HTML for the box and the CSS to so I can take a look?

Is the span positioned absolute?

Craig