eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_LeftPadding':

Home

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

Class: CSS_LeftPadding (in HTML)


Inheritance:

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

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

Class protocol:

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


Instance protocol:

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


Examples:


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


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sun, 27 Nov 2022 09:52:51 GMT