@manhnguyenv

Welcome to my blog!

HTML Table

July 14, 2018 10:50

Định dạng cho Table trong HTML bằng CSS (StyleSheet) (edit)

Table với Header nằm ngang (Table with header cells in the top row only)

https://www.w3.org/WAI/tutorials/tables/one-header/#table-with-header-cells-in-the-top-row-only

Table với Header nằm dọc (Table with header cells in the first column only)

https://www.w3.org/WAI/tutorials/tables/one-header/#table-with-header-cells-in-the-first-column-only

Định dạng Table

https://www.w3.org/WAI/tutorials/tables/tips/

Định dạng khác

https://codepen.io/lukepeters/pen/bfFur

https://allthingssmitty.com/2016/10/03/responsive-table-layout/

https://css-tricks.com/accessible-simple-responsive-tables/

https://css-tricks.com/fixing-tables-long-strings/

Dòng chẵn, dòng lẻ

tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}


Categories