We would like to know how to hover to show full text.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
div {<!-- w ww.j av a 2 s . c o m-->
display: block;
clear: left;
overflow: hidden;
}
div:hover {
overflow: visible;
}
#bigBlock {
width: 100px;
}
.nowrap {
white-space: nowrap;
}
</style>
</head>
<body>
<div id="bigBlock">
<div id="subBlockA" class="nowrap">ABCDEFGHIJKL MNOPQRSTUVWXYZ</div>
<div id="subBlockB" class="nowrap">12345678901 234567890</div>
</div>
</body>
</html>
The code above is rendered as follows: