Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: HTML page breaks

HTML page breaks 5 years 4 months ago #64036

  • eab64
  • eab64's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 0
Hi,
I need to have each grid of questions in a different page. How can I insert page breaks into my new template? I don't understand much about HTML.. I've tried the <b></b> but that just gives me a space.. I need each question on one page!
Can anyone help me?
The administrator has disabled public write access.

HTML page breaks 5 years 4 months ago #64039

  • holch
  • holch's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 5432
  • Thank you received: 810
  • Karma: 240
There are no page breaks in HTML. Each HTML file is one page.

However, you can change the mode of display in Limesurvey. Switch to group by group or question by question display.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | [url=https://manual.limesurvey.org/Workarounds[/url]

If you found this answer helpful and it saved you some time please consider a [url=https://donate.limesurvey.org[/url] to the...
The administrator has disabled public write access.

HTML page breaks 5 years 4 months ago #64042

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9580
  • Thank you received: 1374
  • Karma: 390
Hello,

In css you can use page-break-after: always; but's it's only for printed version.

add a <br class="pagebreak"> after your question block,
and in template.css
.pagebreak{page-break-after: always;}
You can use a specific printing css
www.w3.org/TR/CSS2/media.html
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (use private message).
The administrator has disabled public write access.
Time to create page: 0.200 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form