久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  • <i id='1bDIA'><tr id='1bDIA'><dt id='1bDIA'><q id='1bDIA'><span id='1bDIA'><b id='1bDIA'><form id='1bDIA'><ins id='1bDIA'></ins><ul id='1bDIA'></ul><sub id='1bDIA'></sub></form><legend id='1bDIA'></legend><bdo id='1bDIA'><pre id='1bDIA'><center id='1bDIA'></center></pre></bdo></b><th id='1bDIA'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='1bDIA'><tfoot id='1bDIA'></tfoot><dl id='1bDIA'><fieldset id='1bDIA'></fieldset></dl></div>

        <bdo id='1bDIA'></bdo><ul id='1bDIA'></ul>

    1. <tfoot id='1bDIA'></tfoot>

      <small id='1bDIA'></small><noframes id='1bDIA'>

        <legend id='1bDIA'><style id='1bDIA'><dir id='1bDIA'><q id='1bDIA'></q></dir></style></legend>

        @font-face 讓 IE8 崩潰

        @font-face crashes IE8(@font-face 讓 IE8 崩潰)

        • <bdo id='kc8RB'></bdo><ul id='kc8RB'></ul>
          <legend id='kc8RB'><style id='kc8RB'><dir id='kc8RB'><q id='kc8RB'></q></dir></style></legend>

                <tbody id='kc8RB'></tbody>
              <i id='kc8RB'><tr id='kc8RB'><dt id='kc8RB'><q id='kc8RB'><span id='kc8RB'><b id='kc8RB'><form id='kc8RB'><ins id='kc8RB'></ins><ul id='kc8RB'></ul><sub id='kc8RB'></sub></form><legend id='kc8RB'></legend><bdo id='kc8RB'><pre id='kc8RB'><center id='kc8RB'></center></pre></bdo></b><th id='kc8RB'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='kc8RB'><tfoot id='kc8RB'></tfoot><dl id='kc8RB'><fieldset id='kc8RB'></fieldset></dl></div>
              <tfoot id='kc8RB'></tfoot>

                  <small id='kc8RB'></small><noframes id='kc8RB'>

                1. 本文介紹了@font-face 讓 IE8 崩潰的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我剛剛通過 @font-face 在我的網站上安裝了字體 Aller Regular 和 Aller bold(由 fontsquirrel.com).

                  I just installed the fonts Aller Regular and Aller bold on my site via @font-face (generated by fontsquirrel.com).

                  這是 CSS:

                  @font-face {
                      font-family: 'AllerRegular';
                      src: url('library/fonts/aller_rg-webfont.eot');
                      src: url('library/fonts/aller_rg-webfont.eot?#iefix') format('embedded-opentype'),
                           url('library/fonts/aller_rg-webfont.woff') format('woff'),
                           url('library/fonts/aller_rg-webfont.ttf') format('truetype'),
                           url('library/fonts/aller_rg-webfont.svg#AllerRegular') format('svg');
                      font-weight: normal;
                      font-style: normal;
                  
                  }
                  
                  @font-face {
                      font-family: 'AllerBold';
                      src: url('aller_bd-webfont.eot');
                      src: url('library/fonts/aller_bd-webfont.eot?#iefix') format('embedded-opentype'),
                           url('library/fonts/aller_bd-webfont.woff') format('woff'),
                           url('library/fonts/aller_bd-webfont.ttf') format('truetype'),
                           url('library/fonts/aller_bd-webfont.svg#AllerBold') format('svg');
                      font-weight: normal;
                      font-style: normal;
                  
                  }
                  

                  當我在 Firefox 中使用以太字體時,這工作正常,但是當我使用 IE8 時,網頁崩潰嘗試重新打開并再次崩潰.可以在 http://rcnhca.org.uk/sites/first_steps/

                  This is working fine when I use ether of the fonts in firefox, however when I use IE8 the webpage crashes attempts to reopen and crashes again. A live example can be found at http://rcnhca.org.uk/sites/first_steps/

                  有誰知道是什么導致了這種瘋狂?

                  Does anyone know what's causing this madness?

                  推薦答案

                  我前段時間也遇到了同樣的問題,經過調試發現crash是因為@font-face(在我的例子中,它被包含在一個名為 fonts.css 的單獨樣式表中)在 <head> 中呈現.IE8 有這個問題,但是當我將渲染移到 <body> 內部時工作得很好.

                  I had the same problem a while ago, and after some debugging I found that the crash was because of the @font-face (which in my case was included as a separate stylesheet called fonts.css) was rendered inside <head>. IE8 has a problem with this, but works just fine when I moved the rendering to just inside <body>.

                  試試這個:

                  <head>
                    <!--[if gt IE 8]><!-->
                      <link href="fonts.css" rel="stylesheet" type="text/css">
                    <!--><![endif]-->
                  </head>
                  <body>
                    <!--[if IE 8]>
                      <link href="fonts.css" rel="stylesheet" type="text/css">
                    <![endif]-->
                    <!-- The rest of your page here -->
                  </body>
                  

                  如果瀏覽器比 IE8 更新,這會在您的腦海中呈現字體樣式表.如果瀏覽器是 IE8,它會在你的 body 中呈現它.

                  This renders the fonts stylesheet within your head if the browser is newer than IE8. If the browser is IE8, it renders it just inside your body.

                  注意:如果您支持 IE7 或更早版本,則可能需要調整條件注釋.

                  Note: You may have to adjust the conditional comments if you're supporting IE7 or older.

                  這篇關于@font-face 讓 IE8 崩潰的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Stylesheet not loaded because of MIME-type(由于 MIME 類型而未加載樣式表)
                  CSS3 Transition ( Vendor Prefixes) crashes Safari immediately(CSS3 過渡(供應商前綴)立即使 Safari 崩潰)
                  jquery limit text by length(jquery按長度限制文本)
                  Floated Child Elements: overflow:hidden or clear:both?(浮動子元素:溢出:隱藏或清除:兩者?)
                  How to tell Gulp to skip or ignore some files in gulp.src([...])?(如何告訴 Gulp 跳過或忽略 gulp.src([...]) 中的某些文件?)
                  Using variables in Gulp for the destination file name?(在 Gulp 中使用變量作為目標文件名?)
                2. <small id='GEGlS'></small><noframes id='GEGlS'>

                  <tfoot id='GEGlS'></tfoot>

                    <bdo id='GEGlS'></bdo><ul id='GEGlS'></ul>

                        <tbody id='GEGlS'></tbody>
                    1. <legend id='GEGlS'><style id='GEGlS'><dir id='GEGlS'><q id='GEGlS'></q></dir></style></legend>
                      <i id='GEGlS'><tr id='GEGlS'><dt id='GEGlS'><q id='GEGlS'><span id='GEGlS'><b id='GEGlS'><form id='GEGlS'><ins id='GEGlS'></ins><ul id='GEGlS'></ul><sub id='GEGlS'></sub></form><legend id='GEGlS'></legend><bdo id='GEGlS'><pre id='GEGlS'><center id='GEGlS'></center></pre></bdo></b><th id='GEGlS'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GEGlS'><tfoot id='GEGlS'></tfoot><dl id='GEGlS'><fieldset id='GEGlS'></fieldset></dl></div>
                            主站蜘蛛池模板: 国产aa| 亚洲在线一区 | 韩国主播午夜大尺度福利 | 日韩免费高清视频 | 天天爱天天操 | 日韩一区二区在线视频 | 欧美电影在线 | 日本午夜在线视频 | 久久欧美高清二区三区 | 国产精品久久国产精品久久 | 亚洲三级在线观看 | 国产精品一区二区三区在线 | 亚洲日韩中文字幕一区 | 中文字幕一区二区三 | 国产激情视频在线 | 人人人干 | 成人精品久久日伦片大全免费 | 四虎影院新地址 | 成人免费av在线 | 国产一区二区毛片 | 国产黄视频在线播放 | 亚洲一区综合 | 亚洲精品成人av久久 | 一区二区三区欧美大片 | 色婷婷精品久久二区二区蜜臂av | 亚洲一区播放 | 日韩欧美专区 | 国产精品美女久久久久久久网站 | 在线免费观看日本视频 | 久久黄色精品视频 | 美日韩中文字幕 | 美女久久 | 久久精品国产一区二区三区不卡 | 黄色片免费在线观看 | 国产精品视频 | 日韩精品免费在线观看 | 国产精品视频久久久 | 麻豆av电影网 | 欧美一卡二卡在线观看 | 在线三级网址 | 久久99深爱久久99精品 |