pageCSS()

void pageCSS(string CSS)

The command pageCSS() adds CSS instructions to the HTML <head> of the questionnaire page, within a <style> tag. The CSS instructions are valid only for the specific questionnaire page.

Example

pageCSS('
  body {
    background-color: green;
    color: white;
  }
');

The PHP-Code is placed under composing the questionnaire as „PHP-Code“ (Introduction to PHP) on the page on which the design is to be customized. It does not matter whether the PHP-Code is placed above or below the other elements on the page.