Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== O4WAlignStyle routine ====== ==== Description ==== Creates a "style" for element alignment. ==== Syntax ==== //alignStyle// = O4WAlignStyle( styleName, horizAlign, vertAlign ) ==== Parameters ==== The function has the following parameters: ^Parameter^Description^ |styleName|If syleName is specified, defines the style by the stylename for use with one or more elements and input controls.| |horizAlign|If <horizAlign> specified, the element is horizontally aligned according to its value (this can be any valid CSS "text-align" value, and O4W recognizes 0, 1, and 2 as "shortcuts" for left, center, and right).| |vertAlign|If <vertAlign> specified, the element is vertically aligned according to its value (this can be any valid CSS "vertical-align" value, and O4W recognizes 0, 1, and 2 as "shortcuts" for top, middle, and bottom).|| ==== Returns ==== ==== Returns ==== the style information (to use immediately with a display element or input control) ==== See Also ==== ==== Example ==== <code> </code> guides/o4w/o4w_api/o4walignstyle.txt Last modified: 2023/10/25 10:49by 127.0.0.1