Appnitro Software Forums » MachForm 2

Center title


  1. leon
    Member

    I want to put the title of the form in the center of it. I've added the <center></center> code and on the page it works fine. However, when I test it, the subject of the email message begins with <center>.

    Any ideas?

    Leon

    Posted 4 months ago #
  2. Instead of using "center" tag, I suggest to use CSS instead. You can edit the CSS of your form, search for this code:

    .form_description
    {
    	border-bottom:1px dotted #ccc;
    	clear:both;
    	display:inline-block;
    	margin:0 0 1em;
    }

    change it to become:

    .form_description
    {
    	border-bottom:1px dotted #ccc;
    	clear:both;
    	display:inline-block;
    	margin:0 0 1em;
            text-align: center;
    }

    That should align the title and description of your form, without affecting the email content.


    MachForm Founder

    Posted 4 months ago #

RSS feed for this topic

Reply