D
D
Dmitry Shmakov2019-04-27 05:26:47
css
Dmitry Shmakov, 2019-04-27 05:26:47

Which is better to use for creating tables on pages: table, flexbox or grid?

Hello.
For my project, it is necessary to place a table of 2 to 6 rows and 16 columns in the text of the article.
I originally did it with HTML

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
A person from Kazakhstan, 2019-04-27
@LenovoId

Of course, tabular data is only on tables.
But (my opinion) I don’t suffer from nonsense and it’s easier to build something on flex ... it’s even possible and more difficult
https://codepen.io/topicstarter/pen/jRdxEM than just this

I
Ilya Sergeev, 2019-04-28
@Sid44

Strange that no one suggested using grid. Although the tool is not as supported by browsers, it is quite functional and surpasses tables in this regard. Merging cells is also supported in grid.
Of course, it all depends on compatibility requirements and personal preference.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question