Арабские цифры появляются в поле вместо европейских цифрHtml

Программисты Html
Ответить Пред. темаСлед. тема
Anonymous
 Арабские цифры появляются в поле вместо европейских цифр

Сообщение Anonymous »

Я сталкиваюсь с проблемой в разработке веб-сайта на арабском языке, где в форме появляются только арабские цифры (٠, ١, ٢, ٣…). Я хочу позволить пользователям вводить европейские цифры (0, 1, 2, 3…), но я не могу заставить их работать:

есть любая способ решить эту проблему? Как я могу позволить пользователю вводить европейские цифры?

Код: Выделить всё

* {
padding: 0;
margin: 0;
box-sizing: border-box;
outline: none;
border: none;
font-family:'customfont';
background-size: 120px 80px;
/*font-family: Kufyan-Arabic-Black;
src: url('font/KufyanArabic-Black.ttf');*/
}

/* font */
@font-face {
font-family:'customfont' ;
src: url(font/GE_SS_Unique_Light.otf);
}

body{
background-image: url(image/duck.png);
background-repeat: no-repeat;
background-size: cover;
background-color: #FEFAF1 ;
width: 100%;
height: 100vh;
background-position: fixed; /*center*/
position: relative;
direction: rtl;
}

.container{
width:88%;
margin: 0 auto;
border-width: 10px;
}

.button {
cursor: pointer;
border: 0;
border-radius: 40px;
font-weight: 500;
font-size: large;
margin: 0 0px;
width: 150px;
padding: 10px 0;
box-shadow: 1px 1px 10px#CCECBD;
transition: 0.4s;
color: black;
background-color: #CCECBD;
}

.button:hover {
box-shadow:lightblue;
}

.con {
background: #F1F2F0;
border-radius: 5px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
width: 400px;
padding: 30px 40px;
position: absolute; /*fixed*/
top: 53%;
left: 53%;
transform: translate(-50%,-50%);
max-width: 500px;
width: 100%;
padding: 25px;
border-radius: 9px;
box-shadow: 4px 4px 2px #F1F2F0(230, 254, 164);

}
.con h1 {
text-align: center;
margin: 0 0 20px;
font-size: 24px;
}
.input {
margin-bottom: 20px;
position: relative;
}
.input label {
display: block;
margin-bottom: 10px;
}
.input input {
width: 100%;
height: 40px;
padding: 0 15px;
background-color: white;
border: 1px solid #e0e0e0;
border-radius: 5px;
}
.input small {
position: absolute;
top: 42px;
right:120px;
display: block;
color: #e74c3c;
font-weight: bold;
font-size: 11px;
padding-top: 3px;
visibility: hidden;
}
.input.success input {
border: 2px solid #2ecc71;
}
.input.error input {
border: 2px solid #e74c3c;
}
.input.error small {
visibility: visible;
}
button {
border: 0px;
margin-top: 15px;
padding: 10px 0;
text-align: center;
width: 40%;
color: black;
text-transform: uppercase;
font-weight: bold;
font-size: 18px;
border-radius: 25px;
cursor: pointer;
align-items: center;
margin-right:140px;
background: #C5E8B4;
opacity: 0.9;
box-shadow: inset 0px 0px 12px rgba(73, 83, 64, 0.25);
}
< /code>



 إنشاء حساب



الاسم الاول

Error message

الاسم الاخير

Error message

البريد الالكتروني

Error message

رقم الهاتف 

Error message

اسم المستخدم 

Error message

كلمة المرور 

Error message

إكمال

لديك حساب بالفعل؟[url=Sign_in.php]اضغط هنا[/url]





Подробнее здесь: https://stackoverflow.com/questions/759 ... ean-digits
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Html»