Saturday, August 17, 2013

CSS display table element collapse

<html>
<head>
<style type="text/css">
tr.collapse {visibility:collapse}
</style>
</head>
<body>

<table border="1">
<tr>
<td>Munirul</td>
<td>Hasan</td>
</tr>
<tr class="collapse">
<td>Mahbubur</td>
<td>Rahman</td>
</tr>
</table>

<p><b>Note:</b> Internet Explorer does not support the value "collapse".</p>

</body>
</html>

Result

No comments: