471,627 Members | 2,330 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

How to move the arrow in a select element to the left?

Hi,

I`m building a website that will be presented in rtl(right to left) language.

I need to have a select box with the arrow of the drop down list on the left instead of the default where it`s on the right.

How can I do it?

Thanks
Sep 18 '07 #1
2 5527
anybody?

I want to have the select html element look like this:

V select_name
option1
option2...

Instead of the normal markup:

select_name V
option1
option2...

Where V denotes the arrow next to the select element.

Thanks
Sep 19 '07 #2
brettl
41
Is this what you want?

Expand|Select|Wrap|Line Numbers
  1.  
  2. <form>
  3.   <select dir="rtl">
  4.       <option value="one">one</option>
  5.       <option value="two">two</option>
  6.       <option value="three">three</option>
  7.   </select>
  8.   </form>
  9.  
  10.  
Sep 20 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

8 posts views Thread by Doron Farber | last post: by
1 post views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.