开发者

Scrollbar / Direction issue

开发者 https://www.devze.com 2023-01-21 16:12 出处:网络
this is my first post here. I have Code for displaying the scrollbar on the left side of the div: body

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

精彩评论

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

关注公众号