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

Need to apply style only to IE/Edge

I'm trying to make a site cross browser compatible, i have a fixed image(parallax kinda thing going on), and as some of you may know fixed images and IE/Edge don't mix well, when scrolling with a mouse things get all janky.. so.. i found a fix,add overflow:auto to the body. Only problem is i have an event listener on the window detecting the Y offset and when it reaches a certain point, a paragraph slides in. With overflow:auto, the y offset isnt detected.. what do i do? Is there a way to only add body: auto on IE/Edge? Or any other workaround?