CSS مین وائڈ کا حصہ
- پچھلے پنجرے min-height
- پرنحوی مکس بلینڈ مُد
Definition and Usage
min-width
Set the minimum width of the element.
Description
This property value will set a minimum limit on the width of the element. Therefore, the element can be wider than the specified value, but not narrower. Negative values are not allowed.
See Also:
CSS Tutorial:CSS Size
CSS Reference Manual:CSS ماکس وائڈ کا حصہ
HTML DOM Reference Manual:minWidth Property
CSS Syntax
min-width: length|initial|inherit;
Attribute Value
Value | Description |
---|---|
length | Define the minimum width value of the element. Default value: depends on the browser. |
% | Define the percentage minimum width based on the block-level object that contains it. |
inherit | Specified that the min-width property value should be inherited from the parent element. |
Technical Details
Default Value: | none |
---|---|
Inheritance: | no |
Version: | CSS2 |
JavaScript Grammar: | object.style.minWidth="50px" |
TIY مثال
- پائیکسل کا استعمال سے عناصر کی کم از کم چوڑائی قائم کرنا
- اس مثال میں دکھایا جاتا ہے کہ کس طرح پائیکسل کا استعمال سے عناصر کی کم از کم چوڑائی قائم کی جاسکتی ہے。
- کسرتی فیصد کا استعمال سے عناصر کی کم از کم چوڑائی قائم کرنا
- اس مثال میں دکھایا جاتا ہے کہ کس طرح کسرتی فیصد کا استعمال سے عناصر کی کم از کم چوڑائی قائم کی جاسکتی ہے。
براوزر سپورٹ
جداول میں دیجیت کا استعمال، اس کا پہلا براوزر ورژن کا پورا سپورٹ کا نشان دہی کرتا ہے。
چروم | آئی ای / ایج | فائرفاکس | سافری | اوپرا |
---|---|---|---|---|
1.0 | 7.0 | 1.0 | 2.0.2 | 4.0 |
- پچھلے پنجرے min-height
- پرنحوی مکس بلینڈ مُد