اذهب إلى المحتوى
  • 0

ما هي إيجابيات وسلبيات "CSS BOX Model"؟

محمد ياسين6

السؤال

السلام عليكم ورحمة الله وبركاته:

تحيه طبيه وبعد لاحلى اعضاء منتدى.

أنا طالب مبتعث في أمريكا وتخصصي في علم الحاسب.

اواجه مشكلة في هالسؤال:  ما هي إيجابيات وسلبيات "CSS BOX Model"؟

فلقد بحثت كثيرا الى ان فقدت الامل.

فهل لو تكرم احد وساعدني في حل السؤال. 

السؤال بالاصل باللغة الانجليزية هكذا: What are the pros & cons of the CSS Box Model?

وشكرا لكم .

 

 

رابط هذا التعليق
شارك على الشبكات الإجتماعية

Recommended Posts

  • 0

السلام عليكم,

بما أنك تريد الجواب بالإنجليزية ها هو:

The box model has been around the longest and remains a viable approach to layout design. It relies on margins, borders, and padding to define the spacial relationships between UI elements. Using things like float and clear, these "boxes" of content can be aligned both vertically and horizontally on the page.

Advantages:
The box model has been around for a long time and is the most widely supported by browsers. You'll experience the fewest rendering inconsistencies using the box model.

Disadvantages:
While the box model is fairly easy to understand, it relies on a janky combination of floats and clears to make things work. If you want to achieve a truly responsive design, you'll have to supplement your layout with more media queries using the box model.

تحياتي الحارة.

رابط هذا التعليق
شارك على الشبكات الإجتماعية

  • 0

شكرا لك اخي الكريم Othmane لكن كنت اتمنى انك تكتبه بتعبيرك الخاص بدل نسخة من موقع اخر فكما تعلم الجامعات عندنا في أمريكا متشددين من هذه الناحية, وتعتبر سرقة ادبية.

أخيرا: اقدر لك مساعدتك.

Thank you so much, I really appreciate your help.

 

رابط هذا التعليق
شارك على الشبكات الإجتماعية

  • 0

يسعد مساك أخي العزيز حسب توقيت أمريكا

Box Model 

It is making the design and layout for the element(Box) by using margins , padding and border.

Pros

Supported by browsers*

Easy to understand*

Less rendering inconsistencies while using box model*

Cons

To make it responsive design you need to supplement it with more media queries *

رابط هذا التعليق
شارك على الشبكات الإجتماعية

  • 0

اهلا وسهلا اختي الكريمة:

Oregon هي الولاية الا ساكن فيها, اذا حابه تعرفي التوقيت بالضبط لانه كل منطقة في امريكا لها توقيت مختلف.

ما شاء الله عليكي كفيتي و وفيتي.

ألف شكر ليكي.

تحياتي لكي.

رابط هذا التعليق
شارك على الشبكات الإجتماعية

انضم إلى النقاش

يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.

زائر
أجب على هذا السؤال...

×   لقد أضفت محتوى بخط أو تنسيق مختلف.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   جرى استعادة المحتوى السابق..   امسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

  • إعلانات

  • تابعنا على



×
×
  • أضف...