Export (0) Print
Expand All
Expand Minimize

HttpCapabilitiesBase.SupportsDivAlign Property

Gets a value indicating whether the browser supports the align attribute of HTML <div> elements.

Namespace:  System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

abstract SupportsDivAlign : bool with get 
override SupportsDivAlign : bool with get

Property Value

Type: System.Boolean
true if the browser supports the align attribute of HTML <div> elements; otherwise, false. The default is true.

HTML <div> elements are used to group multiple HTML elements so that CSS styles can be applied to them as a whole. The align attribute sets the horizontal alignment of a <div> group on a Web page.

The following code example shows how to determine whether the browser supports the align attribute of HTML <div> elements.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft