Jump to content

Recommended Posts

Posted

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?

 

Screen%20Shot%202019-11-25%20at%205.46.22%20PM.png?dl=0

Posted

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));

Posted

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.

Posted
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.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...