Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css to exclude last row table

tr:nth-first-child {/*the first item*/
  border-bottom: 2px solid black
}
tr:nth-last-child(2) { /*the second-last item*/
  border-bottom: 2px solid black
}
tr:not(:last-child){/* all but not the last */
  border-left: 2px solid black;
  border-right: 2px solid black
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #exclude #row #table
ADD COMMENT
Topic
Name
3+4 =