Forum Discussion

JenniferSilbers's avatar
JenniferSilbers
Qrew Trainee
7 months ago

Document Template Spacing

Hello,

I am looking for any advice/help on QuickBase's Document Template issues I have been experiencing.  I have a word template that I have uploaded that is a single page, however it keeps spanning multiple pages when I uploaded.  Has anyone been able to adjust the spacing in Document Templates?  I can't find any way to do it, it seems to default to a double space and I want single spaces.  

Has anyone been able to find a way to keep their documents templates to just a single page easily?  

Thanks

4 Replies

  • If you paste the source here, I can take a look at it.
    We found that there are certain html elements that cause the PDF tool to add a page break. Upserting a Word doc is always going to take hand editing. 

    • JulieBowers1's avatar
      JulieBowers1
      Qrew Trainee

      Hi Jim,

      Thank you for offering to help. I'm also having an issue where I can't unwrap the text around the header. I find it odd that option doesn't show. I tried putting in the clear: both in the header and template source and it didn't work.

      The source in the Template is:

      <h1 style="margin-bottom:16px;">
          <span style="color:#e41f35;font-family:Calibri;font-size:32px;"><span style="clear:both;display:block;"><qb-field field-id="13"></qb-field></span></span>
      </h1>
      <p style="line-height:max(17.33px, 100%);margin-bottom:0px;">
          <span style="font-family:Verdana, Geneva, sans-serif;"><qb-field field-id="29"></qb-field></span>
      </p>
      <h2 style="margin-bottom:4px;">
          &nbsp;
      </h2>
      <p style="margin-bottom:0px;">
          &nbsp;
      </p>
      <p>
          &nbsp;
      </p>

       

      • JimHarrison's avatar
        JimHarrison
        Qrew Champion

        Copy & Paste below and see what happens. I removed all the elements that don't look like they are doing anything ie &nbsp;. I wrapped the page in a <div>, divs clear styling from previous elements and remove strange page breaks the CKeditor inserts unexpectedly. Last that "line height" looks suspicious no reason for that to be there. I don't recommend importing Word docs, it doesn't work and makes more of a mess than solves anything.

        ________________________________

        <div>

            <h1 style="margin-bottom:16px;">

                <span style="color:#e41f35;font-family:Calibri;font-size:32px;"><qb-field field-id="13"></qb-field></span>

            </h1>

            <p style="margin-bottom:0px;">

                <span style="font-family:Verdana, Geneva, sans-serif;"><qb-field field-id="29"></qb-field></span>

            </p>

        </div>