Skip to content

Instantly share code, notes, and snippets.

@s10wen
Created July 12, 2012 09:29
Show Gist options
  • Save s10wen/3097009 to your computer and use it in GitHub Desktop.
Save s10wen/3097009 to your computer and use it in GitHub Desktop.
Upgrade Browser Notification Bar
HTML:
<!--[if lt IE 8]>
<p class="chromeframe">You are using an outdated browser. <a href="http://browsehappy.com/">Upgrade your browser today</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to better experience this site.</p>
<![endif]-->
CSS:
/* Upgrade Browser Prompt */
.chromeframe {
font-family: Arial, Helvetica, sans-serif;
font-size: .9em;
margin: 0.2em 0;
background: #eee;
color: #000;
padding: 0.2em 0;
text-align: center;
}
.chromeframe a {
color: #00f;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment