那么这有什么区别呢?
<body dir="rtl">
和这个?:
<body style="direction:rtl">
解决方法
< body dir =“rtl”>根据W3C的建议更为合适:
http://www.w3.org/International/questions/qa-bidi-css-markup
Because directionality is an integral part of the document structure,markup should be used to set the directionality for a document or chunk of information,or to identify places in the text where the Unicode bidirectional algorithm alone is insufficient to achieve desired directionality. […] You should therefore use dedicated bidi markup whenever it is available. Do not simply attach CSS styling to a general element to achieve the effect.