HTML table row link

后端 未结 6 1881
自闭症患者
自闭症患者 2020-12-14 04:14

What is the best way to make a row of an HTML table a link? I currently am using jquery to zebra stripe the rows and also to highlight the onmouseover/off selected row, so

6条回答
  •  甜味超标
    2020-12-14 04:43

    
        
            
    linkName
    .tdStreacher{ height: 100%; width: 100%; padding: 3px; }

    This way, all the area of each cell will act as a link, hence, the whole row act as a link.

提交回复
热议问题