eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::CSS_BottomMargin':

Home

everywhere
www.exept.de
for:
[back]

Class: CSS_BottomMargin (in HTML)


Inheritance:

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

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-StyleSheet-Box-MarginAndPadding
Version:
rev: 1.9 date: 2007/11/05 21:09:51
user: cg
file: HTML__CSS_BottomMargin.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree

Class protocol:

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


Instance protocol:

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


Examples:


Create an empty bottom-margin:


    |margin|
    margin := CSS_BottomMargin newAuto.
    margin printHtmlString.
Create a bottom-margin with pixel value:


    |margin|
    margin := CSS_BottomMargin with:'10px'.
    margin printHtmlString.
Create a bottom-margin with metric value:


    |margin|
    margin := CSS_BottomMargin with:'5mm'.
    margin printHtmlString.
Create a bottom-margin with percentage value:


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


ST/X 6.1.1; WebServer 1.620 at exept:8081; Thu, 24 May 2012 12:07:34 GMT