当用户将鼠标悬停在表格中的单元格上时,我正在使用SimpleTip生成工具提示。工具提示显示,但它扩大了单元格的大小。如何让它悬停在单元格上而不改变其大小?
这是我目前拥有的:
<html>
<head>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="jquery.simpletip-1.3.1.js"></script>
</head>
<body>
<table border="1">
<tr><td id="test">foobar</td></tr>
</table>
<script type="text/javascript">
$("#test").simpletip({
fixed: true,
content: 'hello world!'
});
</script>
</body>
</html>