Gernot Back: td als verweis?

Beitrag lesen

Hallo h4rl3kin,

<table>
<tr>
  <a><td></td></a>
</tr>
</table>

das geht anders:

<html>
<head>
<title>Zellenlinks</title>
<meta name="author" content="Gernot Back">
<meta name="generator" content="Ulli Meybohms HTML EDITOR">
<style type="text/css">
<!--
table {
  width:100%;
  height:100%;
}

td {
  width:50%;
  height50%;
}

a {
  width:100%;
  height:100%;
  background-color:#ff0000;
  display:block;
}
-->
</style>
</head>
<body>
<table>
<tr>
 <td><a href="#1"></a></td>
 <td><a href="#2"></a></td>
</tr>
<tr>
 <td><a href="#3"></a></td>
 <td><a href="#4"></a></td>
</tr>
</table>
</body>
</html>

Gruß Gernot