If the content is larger than the maximum width, it will automatically change the height of the element. If the content is smaller than the maximum width, the max-width property has no effect. This prevents the value of the Width property from becoming larger than MaxWidth. The value of the MaxWidth property overrides the Width property.