Forums

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

Home Forums CSS Displaying only a single row of a html table

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41817
    fire69water
    Member

    I have a html table which has a column of text (multilines) and a column of audio file names. Instead displaying all the rows, I would just like to display a single row for each page and an audio play button, with arrow buttons to navigate the rows. Is this possible with html/css? Or do I have to look at Perl, Php, Rails etc?

    Thanks

    James

    #124937
    Kitty Giraudel
    Participant

    Display a single row isn’t complicated. Something like this should work:

    tr { display: none; }
    tr:first-of-type { display: block; }

    However make interaction with arrows and stuff will require some JavaScript.

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