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

ASP.NET TableCell HorizontalAlign Property

ASP.NET TableCell HorizontalAlign Property


TableCell control TableCell control


Definition and Usage

The HorizontalAlign property is used to set or return the horizontal alignment of the content in the TableCell 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 TableCell control:

    asp:TableRow

    Hello!

    asp:TableCell

    Hello!

    Demo Example »


    TableCell control TableCell control