How to make Bootstrap responsive layout work on IE8

前端 未结 10 1689
醉酒成梦
醉酒成梦 2021-01-31 19:54

I\'ve been search for a while and found some people got it working, but none of them provide any code samples.

I tried their suggestions but it didn\'t work for me. By s

相关标签:
10条回答
  • 2021-01-31 20:12

    Here's a solution I've been working on that works with the Bones framework. It could be very easily used with bootstrap.

    https://github.com/gamsim/ieresponsify

    0 讨论(0)
  • 2021-01-31 20:14

    Yes in Internet Explorer 8 or lower width of the class 'container' as 940px. But in Internet Explorer9+, Firefox, Google Chrome, etc., the width of the 'contianer' class is calling as 1170px.

    The same issue is also in Zurb Foundation.

    If suppose our client requested to don't consider the website to view in IE8<, then we start to implement the bootstrap, or zurb foundation RWD feature

    0 讨论(0)
  • 2021-01-31 20:15

    Try or follow this after all stylesheet "link" tag and just before head tag closed(),it means at the end inside the "head" tag.This format is 99% working in all websites. But in some drupal bootstrap theme does not work.

    Remember save all in website local folder, Don't use CDN.

     <!--[if lt IE 9]>
     <script type='text/javascript' src="/sites/all/themes/bootstrap_subtheme/js/css3-mediaqueries.js"></script> 
     <script type='text/javascript' src="/sites/all/themes/bootstrap_subtheme/js/html5.js"></script>
     <script type='text/javascript' src="/sites/all/themes/bootstrap_subtheme/js/respond.min.js"></script>
     <![endif]-->
    
    0 讨论(0)
  • 2021-01-31 20:18

    The issue with CROSS DOMAIN css loads in IE 8 were resolved as suggested by @Akshay Raje and @Craig London.

    Just to add to it, respond.js or respond.min.js must be added before respond.proxy.js for the setup to work.

    0 讨论(0)
提交回复
热议问题