System.Web.UI.HtmlControls.HtmlTable.Width Property

Gets or sets the width of the System.Web.UI.HtmlControls.HtmlTable control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.DefaultValue("")]
public string Width { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the HtmlTable.Width property to control the width of the System.Web.UI.HtmlControls.HtmlTable control. The width is normally specified in pixels. However, you can also specify a percentage of the browser window width by appending a percent sign (%) to the value. For example, the value 100% indicates a width for the table that is the full width of the browser window. The table automatically expands and contracts as the user changes the window size.

Note:

If you specify a value that is smaller than is required to display the contents of the System.Web.UI.HtmlControls.HtmlTable control, this property is ignored.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0