RebelsMascot
Programmer
Hi,
I've started doing some work with rtl languages and have run into a problem with the way radio buttons are displayed in rtl mode.
Here is some simple html code for displaying the radio buttons in rtl.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTMLM 4.01//EN" "<html dir="rtl">
<head>
</head>
<body>
<form name="myForm" action="" method="post">
<div>
<input type="radio" name="group1" value="radio1">Radio 1<br />
<input type="radio" name="group1" value="radio2">Radio 2<br />
<input type="radio" name="group1" value="radio3">Radio 3<br />
</div>
</form>
</body>
</html>
The first radio button and text display correctly, however the next two are reversed.
Has anyone any ideas on how to fix this issue. It only seems to display correctly in IE. Firefox, opera and safari all seem to have this problem.
A screenshot can be found at
Thanks
I've started doing some work with rtl languages and have run into a problem with the way radio buttons are displayed in rtl mode.
Here is some simple html code for displaying the radio buttons in rtl.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTMLM 4.01//EN" "<html dir="rtl">
<head>
</head>
<body>
<form name="myForm" action="" method="post">
<div>
<input type="radio" name="group1" value="radio1">Radio 1<br />
<input type="radio" name="group1" value="radio2">Radio 2<br />
<input type="radio" name="group1" value="radio3">Radio 3<br />
</div>
</form>
</body>
</html>
The first radio button and text display correctly, however the next two are reversed.
Has anyone any ideas on how to fix this issue. It only seems to display correctly in IE. Firefox, opera and safari all seem to have this problem.
A screenshot can be found at
Thanks