System.Web.UI.HtmlControls Namespace HtmlInputImage Class
Sets or retrieves the width of the HtmlInputImage border.
Inline |
<input type=image border = intBorderWidth ... > |
Script |
HtmlInputImage.Border [ = intBorderWidth ] |
intBorderWidth |
Integer specifying the width of the image border, in pixels. |
The property is read/write with no default value.
Use this property to create a border or frame around an image with the specified width.
Setting a border to zero or omitting the property causes no border to be displayed. Supplying the border property without a value defaults to a single border.
The below code shows how to declaratively set the Border property of an HtmlInputImage control at design time.
<input type=image src="myPix.jpg" border runat="server" ... >
HtmlInputImage Members