2013年11月21日星期四
bootstrap how to achieve compatibility ie8 browser , seeking answers to the great God ! !
------ Solution ------- -------------------------------------
bootstrap are using CSS3, so the following browsers ie9 not very smooth. The following IE9 compatibility is not very good .
IE itself is a freak, and the outside world to engage in a number of inconsistent standards . Do consider that web developers consider this compatibility , egg pain !
Basically css3 's not normal use :
- not display CSS 3 rounded corners - > all become box
- not display CSS 3 gradient - > quasi-physical buttons all become flat
- not display CSS 3 shadows - > box is the box , no shadow
found the next several solutions :
1. Bootstrap UI overall in IE8 narrowed down , and thus placed on the sleeve assembly
problem in IE8 does not support @ media, and Bootstrap a big advantage Responsive UI is completely based on the @ media . Solve this problem, use Respond.js https://github.com/scottjehl/Respond
2. Bootstrap UI components under the aesthetic problem in IE8
using bootstrap-ie78.css
------ For reference only --------------------------- ------------
or not. . . Are added . . . Layout is a mess . .
------ For reference only -------------------------------------- -
Jiqiu ah ! There is no god used ? ? Encountered such a thing ?
------ For reference only -------------------------------------- -
I have always felt is considering compatibility issues are all browser vendors want their browsers a dominant market share continued to fight if you do not consider compatible Finally got left one pair get our programmer is not necessarily a good thing at least we can focus both on the business
IE is not inconsistent standards but there is no addition to the standard features than MS also have a special , after all, people involved in the W3C specification If all browsers are the same only the syntax specified program using the W3C certainly no problem but not required to use some of that W3C is necessarily each with various practices and certainly not the same ; foreign intellectual property rights is very strict on the
------ For reference only -------------------------- -------------
forget. . . I use this version is 2.0 + is . . . After using 3.0 + is a not the same. . But IE8 is compatible . . . Other browsers is not much problem. .
订阅:
博文评论 (Atom)
没有评论:
发表评论