Easy Tutorial
❮ Prop Control Standard Prop Webcontrol Hyperlink Imageurl ❯

ASP.NET CaptionAlign Property



Definition and Usage

The CaptionAlign property is used to get or set the alignment of the caption text for a table.

Syntax

Property Description
align Specifies the alignment of the caption text. Possible values: NotSet - Default. The alignment of the caption is not set.<br> Top - The caption appears at the top of the table. Text is centered.<br> Bottom - The caption appears at the bottom of the table. Text is centered.<br> Left - The caption appears at the top of the table. Text is left-aligned.<br> Right - The caption appears at the top of the table. Text is right-aligned.

Example

The following example sets the Caption property of a table and aligns it at the bottom of the Table control:


❮ Prop Control Standard Prop Webcontrol Hyperlink Imageurl ❯