Link entire table row?

后端 未结 8 1261
后悔当初
后悔当初 2020-12-01 03:43

I know it is possible to link an entire table cell with CSS.

.tableClass td a{
   display: block;
}

Is there a way to apply a link to an en

8条回答
  •  醉话见心
    2020-12-01 04:17

    To link the entire row, you need to define onclick function on your row, which is element and define a mouse hover in the CSS for tr element to make the mouse pointer to a typical click-hand in web:

    In table:

    
    blah
    blah
    Text
    
    

    In related CSS:

    tr:hover {
    cursor: pointer;
    }
    

提交回复
热议问题