Custom Template

Last post 01-25-2005, 4:24 PM by twilliams558. 9 replies.
Sort Posts: Previous Next
  •  01-25-2005, 9:54 AM 3691

    Custom Template

    I created a custom template htm page.  When I run cutesoft and insert my template it does not display at the top of the page like it should instead there is a bunch of white space then the page displays at the bottom.  Any suggestions?
  •  01-25-2005, 10:53 AM 3695 in reply to 3691

    Re: Custom Template

  •  01-25-2005, 11:10 AM 3696 in reply to 3691

    Re: Custom Template

    Here is the code I have in the htm file, it's just straight html.  Other then the htm file I created I added the template item to the resources.xml file.  I know the images are not appearing because they have to be absolute links instead of relative.  But I have not yet added the code to store and retrieve the images from a database.  When I go to insert this template using the insert button, the template looks good in the preview pane, but once it is inserted into my document it appears to have extra spaces at the top.  Thanks for any help you can provide.  I'm new at using this software.
     
    2004 North American Rewards Forum- September 28-29, Atalanta, GA

    Appropriate for HR and compensation professionals from the US and Canada, this conference covers key issues concerning Contact/Call Center, Financial Services, and Telecommunication organizations. Learn from experts, refresh your perspective and bring new ideas to your role!

    • Learn from experts and industry peers about today's hot topics
    • Understand the survey results and their implications
    • Network with other professionals from leading organizations
    more
     FLSA Assessment Kit

    New DOL Regulations, include significant changes to the salary and duty requirements that determine whether employees are entitlted to, or exempt from, overtime pay.

    • FLSA Assessment Kit: Tools to Determine Exempt/Nonexempt Status
    more
  •  01-25-2005, 12:22 PM 3699 in reply to 3696

    Re: Custom Template

    Can you replace the

    <table id="Table1" cellspacing="1" cellpadding="5" width="98%" border="0">
     
    with 

    <table id="Table1" cellspacing="1" cellpadding="0" width="100%" border="0">
     
     
    does that help?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-25-2005, 1:18 PM 3701 in reply to 3691

    Re: Custom Template

    No.  It's still putting spacing.  Is there some code behind somewhere that I should also be editing?
  •  01-25-2005, 2:12 PM 3702 in reply to 3701

    Re: Custom Template

     
    Can you click the html view button in the editor and check the HTML code it generated?

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-25-2005, 3:05 PM 3703 in reply to 3691

    Re: Custom Template

    When you look at the html code when the template is run there are a bunch of extra characters showing.  for example:
      <table id="Table1" cellSpacing="1" cellPadding="0" width="100%" border="0"><>&lt;&gt;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </>
           <tbody>
    None of the &#160; should be there.  When you create the template using html does all of the text within the tags have to be on one line and not indented?  for example instead of:
    <tr>
        <td>
            <p>Sample Text</p>
        </td>
    <tr>
     you have to put:
    <tr><td><p>Sample Text</p></td></tr>

     
  •  01-25-2005, 3:31 PM 3704 in reply to 3703

    Re: Custom Template

    twilliams558,
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  01-25-2005, 3:52 PM 3705 in reply to 3691

    Re: Custom Template

     
    If you take the above code and look at it in the html view it has all kinds of extra junk added between the tags.  I found a work around by putting all of the html tags on one line, but it will make editing or creating templates a pain.   There has to be some setting that can be set so that the junk characters will not be placed inbetween the html tags.  I've looked at the sample templates and none of them have the junk characters added and the html tags are not on one line.  Thanks for you help on this.
  •  01-25-2005, 4:24 PM 3706 in reply to 3691

    Re: Custom Template

    We found out what the problem was.  When it was parsing out the html it converted the spaces inbetween the tags as tabs.  Once the html was cleaned up it was fine.
View as RSS news feed in XML