Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

ALIGN Attribute | align Property


Sets or retrieves the alignment of the object relative to the display or table.

Syntax

HTML<ELEMENT ALIGN = sAlign... >
Scriptingobject.align [ = sAlign ]

Possible Values

sAlignString that specifies or receives one of the following values.
centerAligns to the center.
justifyAligns to the left and right edge.
leftDefault. Aligns to the left edge.
rightAligns to the right edge.

The property is read/write. The property has a default value of left.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The default value for the th element is center.

The justify possible value is available only for the div, hn, and p elements.

Standards Information

property is deprecated in HTML Non-Microsoft link and defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

COL, COLGROUP, DIV, hn, HR, P, TBODY, TD, TFOOT, TH, THEAD, TR

     Online Advertising | Web Advertising | Web Advertising | Online Advertising | Free Advertising
Home    Link To Us    Ad With Us    Contact Us    Tell A Friend    Affiliates    Blog    Stock Photos