:: How to make a whole table cell clickable ::

 

This example shows how to use an entire table cell as a link and to have it change color when the user's mouse passes over the cell.

We have used the following CSS so that the whole cell highlights when hovered over.

We apply the navbar class to the table:

<table border="1" cellpadding="0" cellspacing="0" class="navbar">

Back to tutorials page