I have a problem whenever the user tries to write English words after Arabic words i.e. C++ لغة برمجة
The browser display it like this ++C لغة برمجة
.
Is it possible to solve this problem using CSS?
Edited
I solve it in this way. http://jsfiddle.net/PfjdE/
HTML
<div id="text">لغة برمجة C++</div>
CSS
#text {
direction: rtl;
}
#text:after {
content: 'a';
color: transparent;
}
I'll let the question open in case someone find the best solution.