WEBLEFT Property


PLBCMP GUI Only, 9.9

square.png Objects

 

The WEBLEFT property specifies the left property applied to the HTML element rendered at the client browser by the PL\B Web Server. The property uses the following format:

WEBLEFT={left}

Note the following:

  1. WEBLEFT may be used in CREATE, SETPROP or GETPROP statements.

  2. The {left} is a case sensitive string.

  3. This property is only available when using the PL/B Web Server.

  4. The WEBLEFT value allows the PLB program to specify the left property with values consistent to CSS syntax format as:

  5.  

    CSS Syntax:

     

    auto | length | % | initial | inherit

    Where:

    auto
    The browser calculates the left value.
    length
    Defines the left in px, cm, em, etc. (See http://www.w3schools.com/cssref/css_units.asp)
    %
    Defines the left as percent of the parent container object.
    initial
    Sets this property to its default value.
    inherit
    Inherits this property from its parent container element.

     

  6. See this link for more details on the CSS width description:

 

     http://www.w3schools.com/cssref/pr_pos_left.asp

Examples:

 

Button BUTTON

.

       SETPROP Button,WEBLEFT="60px"

       SETPROP Button,WEBLEFT="10em"

 

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference WEBHEIGHT Property WEBMODE Property