CSS Property:

width

Result:

Example of the CSS width property.

CSS Code:

#myDiv {
                
border:1px solid red;
}
Click the property values above to see the result
W3Docs.com-Play it
Do you find this helpful?