Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 24 lines (14 sloc) 1.207 kb

IE6 fixes for Twitter BootStrap v2

This work is based on the initial work of Jonathon Joyce (

Make sure when using this to use conditional IE statements in your HTML (just BEFORE the </head> tag), eg:

<!--[if IE 6]>
    <link href="ie6.min.css" rel="stylesheet">

Again, use a browser conditional statement to include the ie6.min.js if IE or add the following after all the JS on the page, ideally just before the </body> tag:

    $(function(){if($.browser.msie&&parseInt($.browser.version,10)===6){$('.row div[class^="span"]:last-child').addClass("last-child");$('[class*="span"]').addClass("margin-left-20");$(':button[class="btn"], :reset[class="btn"], :submit[class="btn"], input[type="button"]').addClass("button-reset");$(":checkbox").addClass("input-checkbox");$('[class^="icon-"], [class*=" icon-"]').addClass("icon-sprite");$(".pagination li:first-child a").addClass("pagination-first-child")}})

There is a sample page - sample-typeahead.html

Sharry @ Empowering Communities

Copyright Twitter 2011

Something went wrong with that request. Please try again.