I have tried aligning the text in the <select>
element to the right or the center in safari. But nothing worked. text-align:center;
worked in all browsers except safari. direction:rtl;
and dir="rtl"
did not do anything. the list is always align to the left in Safari. -webkit-appearance: none;
does not help either. Please I need a solution.
For Safari
text-align: -webkit-center;
However, the best way to analyze the working of HTML/CSS is the Web-Inspector in Safari.