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
  • Merge requests
  • !5256

Fixed nested tables issue

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/Serhioromano/fix-nestedtablesstripping into 2.1.2-wip Sep 24, 2012
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: Serhioromano

When you create tables and you have another table within table with .table class, the nested table inherit its styles. Although it is not always right. Sometimes you want just create table

This is what happens

![ex1](http://serhioromano.s3.amazonaws.com/tmp/Screen Shot 2012-09-24 at 3.31.56 PM.png)

But it is not wat you usually want. You want styles to be applied only to the table you are giving the .table class and others. Inside you may want to have another table with is completely different set of styles or not styles at all just as markup. With all respect to HTML5 and CSS3 there are still people and cases when you use table to layout your page.

This fix solve this issue and make so styles are applied only to the table you are assigning class to.

![ex2](http://serhioromano.s3.amazonaws.com/tmp/Screen Shot 2012-09-24 at 3.31.18 PM.png)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/Serhioromano/fix-nestedtablesstripping