eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HTML::Div':

Home

everywhere
www.exept.de
for:
[back]

Class: Div (in HTML)


Inheritance:

   Object
   |
   +--HTML::AbstractElement
      |
      +--HTML::AbstractHTMLElement
         |
         +--HTML::Div

Package:
stx:goodies/webServer/htmlTree
Category:
Net-Documents-ModelTree-BlockLevel
Version:
rev: 1.14 date: 2007/11/05 21:11:33
user: cg
file: HTML__Div.st directory: goodies/webServer/htmlTree
module: stx stc-classLibrary: htmlTree
Author:
Martin Walser

Description:


A div is an html elment to align horizontally..


[instance variables:]
    -

[class variables:]
    -


Related information:

    Center

Class protocol:

required protocol
o  tagName


Instance protocol:

queries
o  canHaveChild: aChild

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

testing
o  isBlockElement

o  isDiv


Examples:


Left alignment:


    |div|
    div := Div with: 'This is a aligned Text.'.
    div alignLeft.
    div printHtmlString.
Center alignment:


    |div|
    div := Div with: 'This is a aligned Text.'.
    div alignCenter.
    div printHtmlString.
Right alignment:


    |div|
    div := Div with: 'This is a aligned Text.'.
    div alignRight.
    div printHtmlString.


ST/X 6.1.1; WebServer 1.620 at exept:8081; Thu, 09 Feb 2012 02:32:11 GMT