Answers for "scroll bar within table css"

CSS
1

set scroll bar on a table

table {
  display: block;
  height: 500px;
  overflow-y: scroll;
}
Posted by: Guest on September-20-2021
0

style scrollbar table

table::-webkit-scrollbar{
    /*Your styles here*/
}
table::-webkit-scrollbar-thumb{
    /*Your styles here*/
}
table::-webkit-scrollbar-thumb:window-inactive{
    /*Your styles here*/
}
Posted by: Guest on November-28-2020

Browse Popular Code Answers by Language