ASP.NET BorderWidth Property
Complete Web Control Standard Properties Reference
Definition and Usage
The BorderWidth property is used to set or return the border width of a
control.
Syntax
<asp:webcontrol id="id" BorderWidth="length" runat="server" />
|
| Attribute |
Description |
| length |
The width of the border. Must be a valid .NET length
unit. Valid length units are: cm, mm, in, pt, pc, or px |
Example
The following example sets the border width of a table:
<form runat="server">
<asp:Table runat="server" BorderWidth="5" GridLines="vertical">
<asp:TableRow>
<asp:TableCell>Hello</asp:TableCell>
<asp:TableCell>World</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
|
Try-It-Yourself Demos
Set the BorderWidth of a Table control
Complete Web Control Standard Properties Reference
The Altova MissionKit is a suite of intelligent XML tools, including:
XMLSpy® – industry-leading XML editor
- Support for all XML-based technologies
- Graphical editing views, powerful debuggers, code generation, & more
MapForce® – graphical data mapping tool
- Drag-and-drop data conversion with code generation
- Support for XML, DBs, EDI, Excel® 2007, text, Web services
StyleVision® – visual stylesheet designer
- Drag-and-drop stylesheet design for XML & databases
- Output to HTML, PDF, RTF, Word 2007, & more
And more…
Try before you buy with a free fully functional 30-day trial
Download today
|