This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

width

Summary

Gets or sets an element’s width.

Property of css/cssom/screencss/cssom/screen

Syntax

var result = element.width;
element.width = value;

Standards information

See also

Related pages

Attributions