Answer the question
In order to leave comments, you need to log in
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
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
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 questionAsk a Question
731 491 924 answers to any question