I have a select drop-down list with a fixed width of 80px, as shown in the image below:
https://i.sstatic.net/pCpI9.png
<select id="dd_country_code_2" name="dd_country_code_2" style="width: 120px; height: 23px;">
<option value="SEL">(Country code)</option>
<option value="AF">Afghanistan (+93)</option>
<option value="AL">Albania (+355)</option>
<option value="DO">Dominican Republic (+1)</option>
<option value="FK">Falkland Islands (+500)</option>
</select>
When a user selects an option, the result looks like this:
https://i.sstatic.net/U8PQR.png
However, I want the second half of the text to be displayed within the 80px of the list so that the user can clearly see its country code.
For instance:
https://i.sstatic.net/pvTnr.png
Could you please suggest a way to achieve this?