Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1b41cc5725
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (30 sloc) 1.022 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Test <select> drop-down box's alignment</title>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
</head>
<body>
<p>
For RTL, select drop-down box's should be right aligned with the &lt;select&gt;
element and expands to left instead of right.
<p>
The drop-down box in the following &lt;select&gt; should be left-aligned and expand to right.
<br>
<select style="width:100px">
<option>Arabic</option>
<option>Hebrew</option>
<option>English (United States)</option>
<option>Chinese (Simplified Chiense)</option>
</select>
<br>
The drop-down box in the second &lt;select&gt; should be right-aligned and expand to left.
<p>
<select dir="rtl" style="width:100px">
<option>Arabic</option>
<option>Hebrew</option>
<option>English (United States)</option>
<option>Chinese (Simplified Chiense)</option>
</select>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.