开发者

Scrollbar / Direction issue

this is my first post here. I have Code for displaying the scrollbar on the left side of the div:

body 
{
    direction:ltr;
}

and

<div style="direction:rtl;">

and the text is still left to right everything works great in IE but in firefox and safari it displa开发者_开发问答ys still on right side


I'm not getting any issues in firefox. Have you considered:

1) using a class instead of a style via the div (ignore if you're just using style for example purposes)

2) using text-align, which has a very similar end result.


You should make sure you are using the correct Doctype, as IE might display incorrectly without the correct declaration.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜