Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #954
Closed
Open
Issue created Jan 10, 2012 by Administrator@rootContributor

Tables: Support for multiple <tbody>

Created by: ledermann

Because a <table> is allowed to contain multiple <tbody> to build groups of rows, it would be nice to style them with Bootstrap.

Example 1: Striped groups:

tbody:nth-child(odd) { background: #f5f5f5; }
tbody:nth-child(even) { background: #e5e5e5; }

Example 2: Placing a separator between groups:

tbody { border-top: 10px solid #ccc; }
tbody:first-of-type { border-top: 0; }

But both do not work nice with .striped-table. Any ideas?

Further reading: http://stackoverflow.com/questions/3076708/can-we-have-multiple-tbody-in-same-table http://stackoverflow.com/questions/294885/how-to-put-spacing-between-tbody-elements

Assignee
Assign to
Time tracking