The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Making table with css grid?
Hello, I want to start using css grid from now on, but must make a table. What is the best way to do it with css grid?
Firstly, this will depend on what you are expecting to display in your table.
If it’s tabular data…use a table, that’s what it’s for.
Other than that we need to see what it is you are trying to create before we can offer any advice.
Just an ordinary table with first name, last name, phone and some actions. Pretty simple. I just wanted to ask if there is a specific way to use css grid with table, tr and td. Thank you :)
CSS Grid is not a substitute for a table as such it’s just another layout method.
That’s not to say that you couldn’t layout elements to look like a table but that seems unnecessary unless you have some specific objective in mind that a table can’t satisfy.