IE10 - RTL逆转 - 如何解决? [英] IE10 - RTL reversed - how to fix?

查看:158
本文介绍了IE10 - RTL逆转 - 如何解决?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法真正理解问题。
出于某种原因 - IE10以相反顺序呈现希伯来语。
如果我使用兼容模式(IE开发工具,IE 10兼容模式),它可以正常工作...
http://www.undergraduate.technion.ac.il/rishum/index.html



试过了RTL修复(Css,dir属性等)的种类

解决方案

我不是RTL专家,但考虑到它的作用在兼容模式下,短时间尝试添加

 < meta http-equiv =X-UA兼容content = IE = 5 > 

从长远来看(或者如果这不起作用),您可以考虑将页面重写为当前的HTML标准。你至少应该添加一个charset声明(对HTTP头而不是HTML),特别是因为这是希伯来语而不是基本的ASCII。 (这也是我对RTL问题的帮助)。

  • 摆脱框架。
  • 修正HTML语法错误。

  • 使用CSS进行样式设计。

  • 摆脱链接的图形。 (我很想阅读这个页面,但图形不能自动翻译)。
  • 使用 http://validator.w3.org/ 检查最糟糕的错误。由于这是一个框架式网站,因此您需要分别检查每个框架文档。


    Can't really understand the problem. For some reason - IE10 presents Hebrew in reversed order. If I use compatibility mode(IE Developer Tools, IE 10 compatibility mode) it works fine... http://www.undergraduate.technion.ac.il/rishum/index.html

    Tried all sorts of RTL fixes(Css, dir attribute, etc.)

    解决方案

    I'm no expert in RTL, but considering it works in compatibility mode, then in short term try adding

    <meta http-equiv="X-UA-Compatible" content="IE=5">
    

    In long term (or if that doesn't work) you show consider rewriting the pages to current HTML standards. You should at least

    • Add a charset declaration (to the HTTP header NOT the HTML) especially since this is Hebrew and not basic ASCII. (This also my help with the RTL problem).
    • Get rid of the frames. Frames are an obsolete and outdated technology.
    • Correct the HTML syntax errors.
    • Use CSS for styling.
    • Get rid of the graphics for links. (I'd love to read the page, but graphics can't be translated automatically).

    BTW, use http://validator.w3.org/ to check for the worst errors. Since this is a framed site, you'll need to check each frame document separately.

    这篇关于IE10 - RTL逆转 - 如何解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆