, HTML/CSS, JavaScript.
.
HTML:
<table class="displayTable">
<tr><td>Row 1, Col 1</td><td>Row 1, Col 2</td></tr>
<tr><td>Row 2, Col 1</td><td>Row 2, Col 2</td></tr>
</table>
CSS
.displayTable {
border: 1px solid #000;
}
.displayTable td {
border: 1px solid #000;
}
.displayTable tr:hover { color: #000000; font-weight: bold; }
JavaScript ( jQuery):
$(function() {
var td = $(".displayTable tr td");
td.css("font-weight", "bold");
td.each( function () {
var width = $(this).width(),
height = $(this).height();
$(this).css("width", width+"px");
$(this).css("height", height+"px");
});
td.css("font-weight", "");
});
JavaScript , , td, , font-weight, - ( -) . .