March 1st, 2012, 02:50 PM
Text Alignment Question
I was wondering if this is possible. I'm not even sure how to ask this question, I guess it falls under right-justify.
12/12/2012 - Blah Blah Blah - More Blah
12/12/2012 - Blah Blah Blah Blah Blah - More Blah
What I want to do is line up the 3rd string "More Blah" in the example so that they are right-justified. As you can see, its position is determined by the 2nd string.
Is there any easy way of doing this? The three variables are dynamically generated, but for styling reasons I want the last ones to all line up.
March 1st, 2012, 03:39 PM
Easy way: just put it in a table. Harder way: use CSS.
March 1st, 2012, 03:51 PM
It's being put inside a PDF formfield so I can't do that.
March 1st, 2012, 04:24 PM
Ah, you didn't say anything about it being in a PDF.
If this is just content inside the PDF, a table might still work. But if it's something in a field on a PDF form, I really have no idea if it's possible. The only other option would be to try and manually calculate the longest value, and then append spaces to the shorter ones to try and get them to line up.