Bitcoin Forum
May 23, 2024, 02:45:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: we need change code direction in RTL boards  (Read 201 times)
0x256 (OP)
Sr. Member
****
Offline Offline

Activity: 333
Merit: 335


View Profile
September 29, 2019, 03:31:05 PM
Last edit: September 30, 2019, 02:30:27 PM by 0x256
Merited by LoyceV (1), o_e_l_e_o (1)
 #1

why code element in RTL boards from right to left ?
most code syntax from left to right

Is there any logical reason to show code from right to left in  RTL local boards?

for example in arabic local board the code from right to left  https://i.ibb.co/G3FV0Hb/afaf.png
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18565


View Profile
September 30, 2019, 07:12:55 PM
 #2

I might be wrong, but including the code between the tags [­ltr] and [­/ltr] should do this for you.
0x256 (OP)
Sr. Member
****
Offline Offline

Activity: 333
Merit: 335


View Profile
September 30, 2019, 07:56:10 PM
 #3

I might be wrong, but including the code between the tags [­ltr] and [­/ltr] should do this for you.
this does not solve the problem see here (the second code)
because dir="rtl" in .post div change direction any element inside <div class="post" dir="rtl"></div>  to right
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18565


View Profile
September 30, 2019, 08:21:28 PM
Merited by 0x256 (2), malevolent (1)
 #4

So if I quote and preview that post from hugeblack, his second code includes [­left] and [/­left] tags. If I change those to [­ltr] and [/­ltr], it displays correctly, at least for me.


Using [­left] tags:



Using [­ltr] tags:
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!