ASP.NET HorizontalAlign Property
Complete Panel Control Reference
Definition and Usage
The HorizontalAlign property is used to set or return horizontal alignment of
the content in the Panel Control.
Syntax
<asp:Panel HorizontalAlign="align" runat="server">
Some Content
</asp:Panel> |
| Attribute |
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 Panel control:
<form runat="server">
<asp:Panel id="pan1" runat="server" HorizontalAlign="Right" >
Hello!
</asp:Panel>
</form>
|
Show example »
|
Complete Panel Control Reference

Whether you're new to XML or already an advanced user,
the user-friendly views and powerful entry helpers,
wizards, and debuggers in XMLSpy are designed to meet your XML
and Web development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- XBRL validator & taxonomy editor
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a free trial today!
|
|
|
|