Breaking

Monday, May 6, 2013

CSS caption-side

caption-side 2

Xác định vị trí một chú thích của table.

Thuộc tính giá trị Ví dụ Mô tả
caption-side top caption-side: top; Caption có vị trí bên trên table.
bottom caption-side: bottom; Caption có vị trí bên dưới table.
inherit caption-side: inherit; kế thừa

Xem ví dụ

<table border="1" id="myTable">
<caption>bendoi.vn</caption>
<tr>
<td>It.bendoi.vn</td>
<td>Máy tính</td>
</tr>
<tr>
<td>Web.bendoi.vn</td>
<td>Thiết kế web</td>
</tr>
</table>
caption-side:
bendoi.vn
It.bendoi.vn Máy tính
Web.bendoi.vn Thiết kế web
table#myTable
{
caption-side:top;
}

Sự tương thích ( Cập nhật / Báo lỗi )

Firefox Opera Google Chrome Safari IOS Android Window phone
               

No comments:

Post a Comment