Inserts XHTML code to horizontally center what it contains.
This macro marks the begining of a block which you want horizontally centered. The block must be terminated by a @centerEnd().
Example of using the macro:
@centerBegin() <div>Center Me!</div> @centerEnd()
Assuming the com.ccg.macros.at.All
class is within your CLASSPATH
and the
config/html.at
macros file has been
generated (Hint: run make atmacros in the
wui
directory), a developer should be able to
run the above example by copy/pasting from below:
[root@probe root]#
java com.ccg.macros.at.All <<EOF
@include("config/html.at",,"d")
@centerBegin() <div>Center Me!</div> @centerEnd()
EOF
This macro is defined as:
<center>