0

I wrote a webpage and its direction is rtl (right to left). Here is my <html> tag :

   <html dir="rtl">

I need 2 parts of the webpage to be written ltr (left to write), so I added dir attribute for this div

  <div dir="ltr">

It works on Google Chrome and Mozilla Firefox, but not in Safari version 8.0 I in Mac OS X 10.10 on a virtual machine.

Why this is not working in Safari?

Could it be a CSS issue ?

friedemann_bach
  • 1,418
  • 14
  • 29

1 Answers1

0

Try using CSS direction property instead of the dir HTML attribute and see if it helps :

<div style="direction:rtl;">...</div>
Hamza Abbad
  • 564
  • 3
  • 15