Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Making table with css grid?

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #263467
    Kalev
    Participant

    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?

    #263468
    Paulie_D
    Member

    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.

    #263469
    Kalev
    Participant

    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 :)

    #263473
    Paulie_D
    Member

    Not really.

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.