Javascript Reference
Categories: CENTER

javascript CENTER Description

@March 15, 2008, 1:22 a.m.
centerFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM n/a  

  

The center object reflects the center element. The W3C DOM does not support the deprecated HTML 4 center element. For backward compatibility, Netscape 6 treats the element as earlier browsers do, but the scriptable element is treated as a span object, whose default text-align style is set to center.

 
HTML Equivalent
 
<center>
 
Object Model Reference
 
[window.]document.getElementById("elementID")
 
Object-Specific Properties

None.

 
Object-Specific Methods

None.

 
Object-Specific Event Handler Properties

None.


Powered by Linode.