Makakuha ng detalyadong mga sagot sa lahat ng iyong katanungan sa IDNStudy.com. Alamin ang mga maaasahang sagot sa iyong mga tanong mula sa aming malawak na kaalaman sa mga eksperto.

define in expanded as about display max width and position properties in css​

Sagot :

Answer:

Definition and Usage

The max-width property defines the maximum width of an element.

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.

Note: This prevents the value of the width property from becoming larger than max-width. The value of the max-width property overrides the width property.

Default value: none

Inherited: no

Animatable: yes, see individual properties. Read about animatable

Version: CSS2

JavaScript syntax: object.style.maxWidth="600px"

Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Property      

max-width 1.0 7.0 1.0 2.0.2 7.0

CSS Syntax

max-width: none|length|initial|inherit;

Property Values

Value Description Play it

none No maximum width. This is default  

length Defines the maximum width in px, cm, etc. Read about length units  

% Defines the maximum width in percent of the containing block  

initial Sets this property to its default value. Read about initial  

inherit Inherits this property from its parent element. Read about inherit

Explanation:

Hope it help :)