Sets the width of an element.
Property of css/cssom/CSSStyleDeclaration/CSSStyleDeclarationcss/cssom/CSSStyleDeclaration/CSSStyleDeclaration
Syntaxvar result = declaration.width;
declaration.width = value;
Return Value
Returns an object of type StringString
Notes RemarksThe width of the rectangle can also be calculated by subtracting the value of the left property from the value of the right property.
Standards information AttributionsMicrosoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4