【问题标题】:IE8 don't show <figure> Tag although html5shivIE8 不显示 <figure> 标签虽然 html5shiv
【发布时间】:2013-09-12 09:20:49
【问题描述】:

我的 IE8 不显示图形标签内的图像。

TYPO3 安装 6.1.x 文档类型 HTML5 css 样式的内容(最新)

前端:文本和图像将显示为

<div class="csc-textpic-imagewrap">
<div class="csc-textpic-center-outer">
<div class="csc-textpic-center-inner">
  <figure class="csc-textpic-image csc-textpic-last">
      <img height="308" width="828" alt="" src="fileadmin/media/image.JPG">
 </figure>
</div>
</div>
</div>

我已经包含了 HTML5shiv 脚本 - 没有任何反应.. 然后我尝试用 jQuery 解开图形元素 - 没有任何反应

有谁知道如何显示我的图像包裹

【问题讨论】:

    标签: image internet-explorer-8 typo3 figure html5shiv


    【解决方案1】:

    这是一个反应灵敏的大牌

    img {
      max-width: auto;
      width: 100%;
      /* and for IE 8 */
      width: auto\9;
    }
    

    这该死的!

    【讨论】:

      【解决方案2】:

      我遇到了同样的问题:

      tt_content.image.20.rendering.singleNoCaption.singleStdWrap.wrap.override >
      tt_content.image.20.rendering.noCaption.singleStdWrap.wrap.override >
      

      或者不要删除它,而是用你喜欢的任何 html 替换它。

      【讨论】:

        【解决方案3】:

        只需在配置打字稿中设置它

         doctype = html5
        

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 2018-10-05
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2021-11-29
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多