PLBWEB_USER_CSS Keyword


9.7C

     PLBWEB_USER_CSS={filename.css}

 

This keyword specifies a {filename.css} file that must exist in the PWS 'http_root' directory.

 

The {filename.css} contains custom CSS classes used by a user's PL/B program. The user classes can be used to override the default CSS classes declared in the 'plbwebbasic.css' or can be used/declared in the 'WEBCLASS' property of an object.

 

If a {filename.css} user class name is the same as a class name in the 'pblwebbasic.css' file, the user class CSS style behaviors affect all HTML objects using the changed class.

Example:

 

     PLBWEB_USER_CSS=myprogram.css

 

Where:

 

myprogram.css
is a file that is located in the PWS 'http_root' directory. This file contains user classes that conform to the CSS syntax. See this Web link for more details:

 

https://www.w3schools.com/css/default.asp

 

 

See Also: PLBWEBSRV Keywords, Server Command Line



PL/B Web Server PLBWEB_USEINI_DEFAULT PLBWEB_VDATALIST