html - css issue in table, styling not showing fully -


got styled css table reason row styling being cut off, css inspector showing obvious error. attached css , table

enter image description here example of issue see codepen

using background on td instead of tr solve problem.

table.striped tr:nth-child(even) td {     background-color: #fff; } table.striped tr:nth-child(odd) td{     background-color: #efefef; } 

updated codepen


Comments

Popular posts from this blog

How to get the arclen between two curve points in Maya? -

C++ Linked List -

git svn - Unignore directories in git-svn (adding directories to a sparse checkout) -