久久久久久久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>
                            主站蜘蛛池模板: 日韩激情网站 | 日韩免费看 | 秋霞午夜鲁丝一区二区老狼 | 精品欧美日韩 | 91在线免费视频观看 | 成人免费看片在线观看 | 一区二区三区精品 | 超碰天天操 | 国内精品一区二区三区 | 五月伊人网| 亚洲在线一区 | 天天操免费视频 | 欧美国产日韩一区二区 | 久视频在线 | 黄免费视频 | 亚洲综合免费 | 在线中文字幕av | 亚洲黄色在线视频 | av网址在线免费观看 | 538精品视频 | 成人国产网站 | 亚洲色网址 | 手机看片福利视频 | 日韩黄色片 | 国产精品久久久久久久 | 性生活网址 | 91久久国产综合久久91精品网站 | 久久久免费精品视频 | 特大黑人巨交吊性xxxx视频 | 成人黄色大片 | 欧美日韩精品一区二区在线播放 | 国产网址 | 国产日产av | 长河落日电视连续剧免费观看 | 神马午夜视频 | 男同在线观看 | 精品日韩一区二区三区 | 欧美一区二区三区成人 | 黄色片毛片 | a级片在线免费观看 | 99在线精品视频 |