Skip to content

Instantly share code, notes, and snippets.

@samurailink3
Created June 28, 2013 17:51
Show Gist options
  • Save samurailink3/5886633 to your computer and use it in GitHub Desktop.
Save samurailink3/5886633 to your computer and use it in GitHub Desktop.
IE8-Specific Navbar Fix
/* ==========================================================================
Fixed-Navbar / Admin Bar Fixes
========================================================================== */
body.admin-bar .navbar-fixed-top{
top: 28px;
}
body{
margin-top: 40px;
}
.logo {
margin-bottom: -8px;
margin-top: -8px;
}
<!-- The comment below runs if the browser is older than IE9, this is to support IE8 users. The code inserts an IE8-specific CSS file.-->
<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" href="/assets/css/ie8.css" />
<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment