|
Class: CSS_BorderWidth (in HTML)
Object
|
+--HTML::CSS_AbstractStyleObject
|
+--HTML::CSS_AbstractStyleProperty
|
+--HTML::CSS_AbstractStylePropertyBox
|
+--HTML::CSS_BorderWidth
- Package:
- stx:goodies/webServer/htmlTree
- Category:
- Net-Documents-HTML-StyleSheet-Box-Border
- Version:
- rev:
1.11
date: 2018/04/26 10:32:53
- user: cg
- file: HTML__CSS_BorderWidth.st directory: goodies/webServer/htmlTree
- module: stx stc-classLibrary: htmlTree
required protocol
-
keyName
-
Return a key name for border-width.
required-visiting
-
acceptHTMLVisitor: aVisitor
-
visitor pattern: dispatch me to the visitor
Create an empty border-width:
|width|
width := CSS_BorderWidth newAuto.
width htmlString.
|
Create a border-width for all sides:
|width|
width := CSS_BorderWidth
top: '1px'
right: '2px'
bottom: '3px'
left: '4px'.
width htmlString.
|
Create a border-width with top-left identical values:
(This one will reduce to top-left)
|width|
width := CSS_BorderWidth
top: '1px'
right: '2px'
bottom: '1px'
left: '2px'.
width htmlString.
|
Create a border-width with identical values:
(This one will reduce to onme value)
|
|width|
width := CSS_BorderWidth
top: '4px'
right: '4px'
bottom: '4px'
left: '4px'.
width htmlString.
|
|