eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_RightMargin':

Home

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

Class: CSS_RightMargin (in HTML)


Inheritance:

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

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

Class protocol:

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


Instance protocol:

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


Examples:


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


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