Jump to content

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

Recommended Posts

Posted

i am having a lot of trouble formatting text in cdml

i am creating an online newsletter for our clients

but with large chunks of text i cannot get it to format correctly. If i set the replacement field in html to preformatted text (as in the format it is in, in filemaker) it keeps all the returns and bullet point and so on, but it does not keep to the width of the page. if there is no carrage return at the end of line it just keeps going and going. is their any way to set a pargraph width.

i have tried setting the field to paragraph 1 in html. i then lose the formatting of bullet points and carrage returns in the text and i get one chunk of continuous text (but at the right width).

is there any way i can get the joys of having carrage returns in my text with out having my text scroll across three pages

please help

Posted

Or you can use the HTML in text for formatting. We have Word Macro for this. Generally it is changing Word file to text with HTML formatting.

We are publishing this way from FM Technical Weekly magazine and all PR stuff from ICT.

The text field should use the RAW formatting.

Posted

how does the word macro work, and is there any equivelant in filemaker.

i could have raw text going in one field and a calculated field to format the text into html

this is the best solution i can come up with but i have not a clue how it would work

any ideas

Posted

As Garry suggested - you limit the width with TD -- cell.

Macro is changing the Bold for <b> HTML tags and so on.

Conversion of one article is around 1-2 seconds in macro and 1-2 minutes of manual tune-up and testing through browser

Posted

i have tried to limit my table width which does not work when i have the cdml put in preformatted text, how ever it does when i just use non formatted text but i then lose my carrage returns in the text

i have tried substituting the carrage returns in the text in filemaker for "<br>" with a calculation field but then i just get &#60;br&#62; showing in the text on the html

help

Posted

Thank you for the kind words; there are definitely some true geniuses (genii?) on FMForums from whom I have learned much. I'm glad to have helped.

Posted

RE: i have tried substituting the carrage returns in the text in filemaker for "<br>" with a calculation field but then i just get &#60;br&#62; showing in the text on the html

<br> will display if you use the RAW. RAW has the advantage to display ANY HTML formatting like tables and various CSS etc.

JavaScript will not work with BREAK and CR in field, so we are not using that.

Posted

Sorry for the late chime in...

One place the "Break" does not work properly is in a text area within a form. The wrap= seems to work in those instances.

<textarea name="Specs" size="6" style="width: 550px; height: 50px; font-size: 11px" wrap="virtual">

LR

This topic is 8179 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.