forked from guoguo/Bootstrap-IE6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sharry Stowell
committed
Mar 8, 2012
1 parent
2f0bbbc
commit cc744b8
Showing
1 changed file
with
7 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,24 @@ | ||
This is a early beta version for fixes for Twitter BootStrap v2. | ||
##This is a early beta version for fixes for Twitter BootStrap v2. | ||
|
||
Based on the initial work of Jonathon Joyce (http://www.jonathonjoyce.co.uk/2012/02/02/twitter-bootstrap2-ie-compatibility-fixes/) | ||
|
||
|
||
Make sure when using this to use conditional IE statments in your HTML, eg: | ||
```javascript | ||
Make sure when using this to use conditional IE statements in your HTML, eg: | ||
` | ||
<!--[if IE 6]> | ||
<link href="ie6.min.css" rel="stylesheet"> | ||
<script src="ie6.min.js"></script> | ||
<![endif]--> | ||
``` | ||
` | ||
|
||
Or you could use jquery to determine what browser/version for the javascript hacks: | ||
```javascript | ||
` | ||
$(function() { | ||
if ($.browser.msie && parseInt($.browser.version, 10) === 6) { | ||
// ie6 hacks here | ||
} | ||
}); | ||
``` | ||
##Notes: Currently the glyphicons-halflings.png sprite is hardcoded in the css, change this file location as required | ||
|
||
|
||
|
||
` | ||
###Notes: Currently the glyphicons-halflings.png sprite is hardcoded in the css, change this file location as required | ||
|
||
Copyright Twitter 2011 | ||
http://twitter.github.com/bootstrap/index.html |