eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_RightPadding':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: CSS_RightPadding (in HTML)


Inheritance:

   Object
   |
   +--HTML::CSS_AbstractStyleObject
      |
      +--HTML::CSS_AbstractStyleProperty
         |
         +--HTML::CSS_RightPadding

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-HTML-StyleSheet-Box-MarginAndPadding
Version:
rev: 1.11 date: 2018/04/26 10:34:03
user: cg
file: HTML__CSS_RightPadding.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

required protocol
o  keyName
Return a key name for right-padding.


Instance protocol:

required-visiting
o  acceptHTMLVisitor: aVisitor
visitor pattern: dispatch me to the visitor


Examples:


Create an empty right-padding:
    |padding|
    padding := CSS_RightPadding newAuto.
    padding htmlString.
Create a right-padding with pixel value:
    |padding|
    padding := CSS_RightPadding with:'10px'.
    padding htmlString.
Create a right-padding with metric value:
    |padding|
    padding := CSS_RightPadding with:'5mm'.
    padding htmlString.
Create a right-padding with percentage value:
    |padding|
    padding := CSS_RightPadding with:'10%'.
    padding htmlString.


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 30 Nov 2022 16:42:57 GMT