Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET Table HorizontalAlign Property

ASP.NET HorizontalAlign Property


Table control Table control


Definition and Usage

The HorizontalAlign property is used to set or return the horizontal alignment of the content in the Table control.

Syntax

Some Content

 

property Description
align Specifies the horizontal alignment of the content.

Possible values:

  • Center
  • Justify
  • Left
  • NotSet (default)
  • Right
  • |

    Example

    The following example sets the HorizontalAlign property of a Table control:

    asp:TableRow

    asp:TableCell

    Hello!

    asp:TableCell

    Hello!

    Demo Example »


    Table control Table control