Link entire table row?

后端 未结 8 1249
后悔当初
后悔当初 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 03:55

    I think this might be the simplest solution:

    
    ...
    ...
    
    

    The cursor CSS property sets the type of cursor, if any, to show when the mouse pointer is over an element.

    The inline css defines that for that element the cursor will be formatted as a pointer, so you don't need the 'hover'.

提交回复
热议问题