Есть таблица. Внутри ячейки (td) есть текст и блок (div), 

and inside the block, there is a link. Task: when you hover not on a link, but on the part of the block in which the link is located, make it so that this block has the property of a link, i.e. when you clicked on it, you could go to the right page.

 Сама таблица: <table style="width: 535px;" border="1"> <tbody> <tr> <td> <div id="one"> <p>&nbsp;</p> <p>&nbsp;</p><a href="zakazat.html"><span class="hh3"> Работа</span> <br /> Любой сложности... </a> </div> </td> <td> <div id="two"> <p>&nbsp;</p><a href="zakazat-rabotu.html"><span class="hh3"> Курсовые </span> <br />Работа (теоретическая), Науч.проект (практика)... </a> </div> </td> </tr> <tr> <td> <div id="che"> <p>&nbsp;</p> <p>&nbsp;</p><a href="zakazat-r.html"><span class="hh3"> Заказы</span> <br /> от 3 часов ...</a> </div> </td> <td> <div id="pia"> <p>&nbsp;</p><a href="zakazat-p.html"><span class="hh3"> Перевод </span> <br /> другие...</a> </div> </td> </tr> </tbody> </table> 
  • one
    And what prevents to make a link instead of a block by placing the necessary text in it - avengerweb

1 answer 1

 Сама таблица: <table style="width: 535px;" border="1"> <tbody> <tr> <td onclick="location.href='тут твоя ссылка';"> <div id="one"> <p>&nbsp;</p> <p>&nbsp;</p><a href="zakazat.html"><span class="hh3"> Работа</span> <br /> Любой сложности... </a> </div> </td> <td> <div id="two"> <p>&nbsp;</p><a href="zakazat-rabotu.html"><span class="hh3"> Курсовые </span> <br />Работа (теоретическая), Науч.проект (практика)... </a> </div> </td> </tr> <tr> <td> <div id="che"> <p>&nbsp;</p> <p>&nbsp;</p><a href="zakazat-r.html"><span class="hh3"> Заказы</span> <br /> от 3 часов ...</a> </div> </td> <td> <div id="pia"> <p>&nbsp;</p><a href="zakazat-p.html"><span class="hh3"> Перевод </span> <br /> другие...</a> </div> </td> </tr> </tbody> </table> 
  • and who did the general? - etki
  • I did not understand your question! - Dostan