eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_RightMargin':

Home

everywhere
www.exept.de
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-StyleSheet-Box-MarginAndPadding
Version:
rev: 1.9 date: 2008/09/03 09:54:15
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 printHtmlString.
Create a right-margin with pixel value:


    |margin|
    margin := CSS_RightMargin with:'10px'.
    margin printHtmlString.
Create a right-margin with metric value:


    |margin|
    margin := CSS_RightMargin with:'5mm'.
    margin printHtmlString.
Create a right-margin with percentage value:


    |margin|
    margin := CSS_RightMargin with:'10%'.
    margin printHtmlString.


ST/X 6.1.1; WebServer 1.620 at exept:8081; Fri, 10 Feb 2012 15:10:32 GMT