w3schools
  
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About

ASP.NET VerticalAlign Property


TableRow Control Reference Complete TableRow Control Reference

Definition and Usage

The VerticalAlign property is used to set or return vertical alignment of the content in the TableRow control.

Syntax

<asp:TableRow VerticalAlign="align" runat="server">
Some Content
</asp:TableRow>
 
Attribute Description
align Specifies the vertical alignment of the content.

Possible values:

  • Bottom
  • Middle
  • NotSet
  • Top


Example

The following example sets the VerticalAlign property of a TableRow control:

<form runat="server">
<asp:Table id="tab1" runat="server">
<asp:TableRow VerticalAlign="Middle">
<asp:TableCell>
Hello!
</asp:TableCell>
<asp:TableCell>
Hello!
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>

Show example »

TableRow Control Reference Complete TableRow Control Reference

DreamTemplate

WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
Top Web Hosting
Cheap UK Web Hosting
WEB BUILDING
XML Editor – Free Trial!
FREE Flash Website
FREE Web Templates
SEO Company
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
STATISTICS
Browser Statistics
Browser OS
Browser Display
FLIGHT TICKETS
Find the cheapest flight
to any destination now!
SHARE THIS PAGE