asp.net.ph

HtmlInputImage.Border Property

System.Web.UI.HtmlControls Namespace   HtmlInputImage Class


Sets or retrieves the width of the HtmlInputImage border.

Syntax


Inline <input type=image border = intBorderWidth ... >
Script HtmlInputImage.Border [ = intBorderWidth ]

Property Value


intBorderWidth Integer specifying the width of the image border, in pixels.

The property is read/write with no default value.

Remarks

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.

Example

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" ... >
See Also

HtmlInputImage Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note