Left – in fact, on the contrary, the ones I have talked with areĪctively pushing for the introduction of start and end to make their Matter) who find using start and end more confusing than using right and Nor have I met any users of RTL scripts (or vertical scripts, for that There may be some issues to resolve with regards to the cascade,īut I’ve never really understood why it’s so hard to use start and end. Who fear that a proliferation of properties or values is confusing to Several times over recent years, but have been blocked mainly by people The new properties have been strongly recommended to the CSS WG This would mean that that one rule would work for both ltr and rtl pages and I wouldn’t have to worry about most of the above. Where start refers to the left for ltr documents and right for rtl docs. Involve writing a selector such as #site-navigation:dir(rtl) Proposal in a First Public Working Draft at the moment. Template need to be flipped (such as the dog-ear icon in the top cornerĬSS may provide a way to do this in the future, but it is still only a Note also that there are other things that may need changing besides Prevent conversion of properties where needed (you can disable CSSJanusįrom running on an entire class or any rule within a class by prependingĪ /* */ comment before the rule(s) you want CSSJanus to ignore). You still have to use with care, but it does come with a convention to That can apply a little intelligence to convert most of what you need. The whole of the main stylesheet to find the instances where the right You can’t just use search and replace, and you have to carefully scour When setting things like margins, but where I have set something like margin: 1em 32%. Occasional situations where you don’t want to change the direction of aĪnother thing to look out for: I tend to use -left and -right a lot While this may catch many of the things that need changing, it won’tĬatch all, and it could also introduce errors into the style sheet.įor example, I had selectors called.
Global search and replace to convert left to right, and vice versa. What needs changing?Ĭonverting a style sheet is a little more involved than using a
#FREE DOWNLOAD MONGOLIAN ENCODING CONVERTER 10 HOW TO#
Here are some thoughts about how to deal with style sheets for both right-to-left (rtl) and left-to-right (ltr) documents. Sheet for ltr pages first, and only when that is working well do I
(To make it quicker to develop styles, I create the style Into Arabic and Hebrew, so I had to get around to updating the bidi Recently, and I’ve just received some requests to translate documents I created a new HTML5-based template for our W3C Internationalization articles