Forums

Text layout and carriage return problems

bvrettski 30 Aug, 2007
I have a simple form designed in Golive cs2, cut and pasted into chronoforms. However, when I preview the form the text lacks any of the carriage returns and/or spaces between paragraphs. I compared this to my other static text pages and they seem to appear just fine. I would appreciate some help working this out.

here is a link to the chronoform in question: form page

I assumed the templates css might be the problem but it appears to be working fine on other pages.

Here is a link to how the text should appear (its not the same text just a sample) text page

Thanks for any help and or suggestions.
Bvrettski

Edited to change long urls to shorter links.<br><br>Post edited by: GreyHead, at: 2007/08/30 18:58
GreyHead 30 Aug, 2007
Hi Bvrettski,

There are two main differences that I can see:[list]
  • On the 'form' page you have a table and a div with align='center'
  • On the non form page you have element level css for each paragraph: "margin: 0px 0px 16px; font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 13px; line-height: normal; font-size-adjust: none; font-stretch: normal;" that doesn't appear on the form page.
  • [/list]There are also a couple of '<p/> tags that may be adding extra line breaks.

    Bob<br><br>Post edited by: GreyHead, at: 2007/09/04 00:51
    bvrettski 04 Sep, 2007
    My biggest problem is that I am not getting any spaces between paragraphs. No matter what I try
    GreyHead 04 Sep, 2007
    Hi Bvrettski,

    The simple fix is to add the css I posted below into each paragraph of your form. The critical piece for the spacing is margin: 0px 0px 16px;

    It's not 'usual to put so much formatting into paragraph elements, they are more often handled by your site template or by an included css file.

    Bob
    This topic is locked and no more replies can be posted.