Documentation for this section has not yet been entered.
Use this property to specify the alignment of the image with respect to other elements on the Web page.
The following table represents the possible values.
left |
The image is aligned on the left side of the Web page. |
center |
The image is aligned in the center of the Web page. |
right |
The image is aligned on the right side of the Web page. |
top |
Other elements in the Web page are aligned with the top edge of the image. |
middle |
Other elements in the Web page are aligned with the middle of the image. |
bottom |
Other elements in the Web page are aligned with the bottom edge of the image. |
The center value might not work on all browsers. To center an image, wrap the System.Web.UI.HtmlControls.HtmlImage control inside paragraph tags that contain the align attribute set to "center" (<p align= "center">).