force cjuiautocomplete to be right to left

hi anybody

i want to have a juiautoComplete that its list be Right to left

here is my code

    	$this->widget('zii.widgets.jui.CJuiAutoComplete', array(

        	'id' => 'bankTfd',

        	'name' => 'bank',

        	'value' => null,

        	'source' => array(


            	, 'MELLAT'


        	'options' => array(

            	'showAnim' => 'fold',

            	'position' => 'js:{my : "right top", at: "right bottom"}',





why the result isnt right to left?

what is the problem?

The ‘position’ property as it say in the jquery UI documentation:

So this is used to position the dropdown not to set the text-alignment…

If you want to right align the text of the dropdown you need to use CSS…