Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

How to center text script for drop down entries

$
0
0

I am working on another custom pdf for work that will have many many drop downs with long lists of data in it.  The way I have been entering the names or data into to center it is, hit space bar several times, type out name and then add.  If it looks nearly centered i leave it, if its off i'll add or remove spaces and re-add it and delete the previous one.  But this takes alot longer to do.  Is there any script or even another way of centering the text automatically when chosen?

Below is a small screencapture showing what i'de like all the entries to appear without doing it the way i've been doing it.

dropdowns.JPG


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>