dml1280 Posted November 25, 2019 Share Posted November 25, 2019 I have a box with text that is meant to be centered but it is justifying the text even though I correctly have it set up as center. What am I missing? Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted November 25, 2019 Share Posted November 25, 2019 It's hard to say without seeing the job files. Maybe the data has markup that's overriding the alignment specified in the Text Editor? Quote Link to comment Share on other sites More sharing options...
dml1280 Posted November 25, 2019 Author Share Posted November 25, 2019 I don't think so. It came up like that from the first time I exported it from InDesign. Here is a link to the collected files if you are able to take a look or give me an idea of something else to look for? I even removed the copyfit options for now just in case that was doing something odd. https://www.dropbox.com/s/butpaiypqryetv7/PH%20Facility%20BC%20Template_v1.zip?dl=0 Quote Link to comment Share on other sites More sharing options...
MartyrSyx Posted November 26, 2019 Share Posted November 26, 2019 Under three rules there is formatting telling it to justify... r_formatPhone r_formatFax r_formatCell return "<p br=false quad=JJ>" + formatNumber(Trim(thisNumber)); if you remove 'quad=JJ' then it should center. At least it did for me on fp11... return "<p br=false>" + formatNumber(Trim(thisNumber)); Quote Link to comment Share on other sites More sharing options...
dml1280 Posted November 26, 2019 Author Share Posted November 26, 2019 Oh wow, thank you so much! This is code that I have reused several times, I just copy and paste it and then choose my format. I have no idea how it got in there. I will adjust it. Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted November 26, 2019 Share Posted November 26, 2019 Under three rules there is formatting telling it to justify... r_formatPhone r_formatFax r_formatCell return "<p br=false quad=JJ>" + formatNumber(Trim(thisNumber)); if you remove 'quad=JJ' then it should center. At least it did for me on fp11... return "<p br=false>" + formatNumber(Trim(thisNumber)); Yes, as I suspected, some markup was overriding the Text Editor. Also, if you're going to get rid of the "quad=JJ" attribute, then you might as well get rid of the whole "<p br=false>" tag, which, by itself, does absolutely nothing. Quote Link to comment Share on other sites More sharing options...
dml1280 Posted November 26, 2019 Author Share Posted November 26, 2019 Yes, I removed all the extra code and it worked perfectly. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.