|
Class: Div (in HTML)
Object
|
+--HTML::AbstractElement
|
+--HTML::AbstractHTMLElement
|
+--HTML::Div
- Package:
- stx:goodies/webServer/htmlTree
- Category:
- Net-Documents-HTML-ModelTree-BlockLevel
- Version:
- rev:
1.20
date: 2018/04/26 10:29:33
- user: cg
- file: HTML__Div.st directory: goodies/webServer/htmlTree
- module: stx stc-classLibrary: htmlTree
- Author:
- Martin Walser
A div is an html elment to align horizontally..
[instance variables:]
-
[class variables:]
-
Center
required protocol
-
tagName
-
queries
-
canHaveChild: aChild in: aParser
-
(aChild isLink or:[aChild isStyle]) ifTrue:[^ true].
required-visiting
-
acceptHTMLVisitor: aVisitor
-
visitor pattern: dispatch me to the visitor
testing
-
isBlockElement
-
-
isDiv
-
Left alignment:
|div|
div := Div with: 'This is a aligned Text.'.
div alignLeft.
div htmlString.
|
Center alignment:
|div|
div := Div with: 'This is a aligned Text.'.
div alignCenter.
div htmlString.
|
Right alignment:
|div|
div := Div with: 'This is a aligned Text.'.
div alignRight.
div htmlString.
|
|