We would like to know how to make table cell editable.
<!-- w w w. j a v a2 s. co m-->
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
td {
width: 200px;
}
td:focus {
border: 2px inset white;
border-width: 2px;
content: '';
position: absolute;
background: white;
}
</style>
</head>
<body>
<table>
<tbody>
<tr>
<td contenteditable> Click me</td>
</tr>
</tbody>
</table>
</body>
</html>
The code above is rendered as follows: