We would like to know how to cursor: col-resize;.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
table thead th {<!--from w w w. j a v a 2 s . c om-->
position: relative;
}
table thead th .resize {
width: 8px;
background-color: gray;
position: absolute;
right: 0px;
top: 0px;
bottom: 0px;
z-index: 1;
cursor: col-resize;
}
</style>
</head>
<body>
<table>
<thead>
<tr>
<th><span class=resize> </span>
<div class=label>Column 1</div></th>
<th><span class=resize> </span>
<div class=label>Column 2</div></th>
</tr>
</thead>
</table>
</body>
</html>
The code above is rendered as follows: