How can I lock the first row and first column of a table when scrolling, possibly using JavaScript and CSS?

Oh well, I looked up for scrollable table with fixed column to understand the need of this specific requirement and your question was one of it with no close answers.. I answered this question Large dynamically sized html table with a fixed scroll row and fixed scroll column which inspired to showcase my work as … Read more

How is a CSS “display: table-column” supposed to work?

The CSS table model is based on the HTML table model http://www.w3.org/TR/CSS21/tables.html A table is divided into ROWS, and each row contains one or more cells. Cells are children of ROWS, they are NEVER children of columns. “display: table-column” does NOT provide a mechanism for making columnar layouts (e.g. newspaper pages with multiple columns, where … Read more

Equal height columns with CSS

Equal Height Columns with Flexbox HTML <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li> </ul> CSS ul { display: flex; } With the simple code above, you can put any amount of content in a list item, and all list items will have equal height. DEMO Notes: An initial setting of a flex container is flex-direction: … Read more