class
SAPO.Utility.Center
Centers content on the browser. 100% CSS solution.
Should work in browsers up to IE6.
Version:
0.1
Since:
Defined in
Utility/Center/0.1/lib.js
January 2013
Constructor Summary
Center
([String|DOMElement
container])
Function Summary
destroy()
destroys the whole thing
DOMElement
getContentElement()
returns the content element, so you can layout stuff there
Constructor Details
constructor Center
Center([String|DOMElement
container])
Parameters:
[container]
defaults to document.body if ommitted Function Details
function destroy
destroy()
destroys the whole thing
function getContentElement
DOMElement
getContentElement()
returns the content element, so you can layout stuff there