class SAPO.Utility.Center
Centers content on the browser. 100% CSS solution. Should work in browsers up to IE6.
Authors:
jose.p.dias AT co.sapo.pt
Version:
0.1
Since:
January 2013
Defined in Utility/Center/0.1/lib.js

Constructor Summary
Center ([String|DOMElement container])

Function Summary
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