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

Design

Ryan Giusti
Ryan Giusti
18,082 Points

Best Way To Go About An "Outdated Browser" Warning

I know there are many ways to approach this with jscript or PHP, but based on your experiences, which route would you take? Specifically for older browsers such as IE6-8

2 Answers

Chris Scott
Chris Scott
7,673 Points

A nice but discrete warning box above the nav it should be distracting but not initially easily ignored.
<!--[if lt IE 9]> <h1> <a>Upgrade your browser now! Save a developer's life. </h1> <![endif]-->

Ryan Giusti
Ryan Giusti
18,082 Points

When I originally tried conjuring up solutions to this, I figured a box that comes up over everything and gives the warning with an option to close out, but what you said sounds like a given when thinking about usability, thanks!