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.

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!