خاصية جانب التسمية التوضيحية في CSS
مثال
حدد موضع تسميات الجدول:
#example1 {
caption-side: bottom;
}
#example2 {
caption-side: top;
}
التعريف والاستخدام
caption-side
تحدد الخاصية موضع التسمية التوضيحية للجدول .
القيمة الافتراضية: | أعلى |
---|---|
وارث: | نعم |
متحرك: | رقم. اقرأ عن animatable |
الإصدار: | CSS2 |
بناء جملة JavaScript: | الكائن .style.captionSide = "أسفل" |
دعم المتصفح
تحدد الأرقام الواردة في الجدول إصدار المتصفح الأول الذي يدعم الخاصية بالكامل.
Property | |||||
---|---|---|---|---|---|
caption-side | 1.0 | 8.0 | 1.0 | 1.0 | 4.0 |
بنية CSS
caption-side: top|bottom|initial|inherit;
قيم الملكية
Value | Description | Play it |
---|---|---|
top | Puts the caption above the table. This is default | |
bottom | Puts the caption below the table | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
الصفحات ذات الصلة
دروس CSS: جدول CSS
مرجع HTML DOM: خاصية captionSide