Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4143 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

We have a text field ( text ) with 2 rows of text:
the first row is aligned to center and the second row is aligned to right.
 
 

first row

second row

 
 
Which is supposed to be the result of:
 
GetAsCSS ( text ) with FMP12   ???

 

The result isn't consistent, sometimes is:

 

<SPAN STYLE= "text-align: center;" >first row<BR></SPAN>

<SPAN STYLE= "text-align: right;" >second row</SPAN>

 

other times is:

 

<SPAN STYLE= "text-align: center;" >first row<BR>second row</SPAN>

Posted

I get <SPAN STYLE= "text-align: center;" >first row<BR>second row</SPAN>   every time under normal use. the only way I an able to duplicate your problem is if I hit alt+0 which does not leave a physical character but changes the getasscss()

 

I would look at hidden characters first by retyping the fields on a few records to see if they are all the same.

then I would check to see if Filemaker up to date ?

are you running the file from Filemaker server or on your local machine?

Posted

Thank you.

 

"are you running the file from Filemaker server or on your local machine?"

Local

 

The correct behavior ( IMHO ) must be the first result, not the second which lose the "alignment".

 

Now try with the second row bolded: what do you see ?

Posted

daniele, i get this from a local as well as a remtoe file:

 

<SPAN STYLE= "text-align: center;" >first<BR></SPAN><SPAN STYLE= "font-weight: bold;text-align: right;" >second</SPAN>

 

i typed and formatted the text manually.

This topic is 4143 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.