[[pageCSS()]]
Translations of this page:
 

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.

en/create/functions/pagecss.txt · Last modified: 07.12.2023 12:02 by empschul
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki